material-design Questions
29
Solved
I have a custom BttomSheetDialogFragment and I want to have round corners in top of Bottom View
This is my Custom class that inflates my layout that I want to appear from bottom
View mView;
@Overr...
Ayres asked 8/5, 2017 at 16:18
6
I'm working on the below screen in a flutter app, but when I use Switch widget it breaks the alignment, because there is hardcoded height and width already defined in flutter.
How can I get rid...
Despot asked 3/2, 2020 at 4:21
4
I have this theme
palette: {
primary: {
main: '#d05ce3',
},
secondary: {
light: '#0066ff',
main: '#0044ff',
},
I can use secondary color like this find
<ThemeProvider theme={theme}>...
Phototonus asked 20/6, 2019 at 16:18
3
Solved
I am triggering a dialog on clicking an item in matMenu but the concern is that matMenu doesn't close when dialog is open.
I want it to close it as soon as dialog box opens up, it closes when you c...
Oregano asked 11/4, 2019 at 15:55
3
Solved
I am trying to add a TextInputLayout with an EditText to a LinearLayout programmatically. My approach:
TextInputLayout textInputLayout = new TextInputLayout(new ContextThemeWrapper(getContext(), R...
Ejecta asked 25/2, 2020 at 8:38
7
Solved
Hi can we customize tabbar width in flutter ? my tabbar width is fixed in here so when i have long text in my tabbar it will not shown completetly, i want to make my tabbar width is flexible base o...
Bancroft asked 9/7, 2018 at 6:24
2
Solved
I have been exploring Compose + Material 3 for the first time and I am having a really hard time trying to implement a custom color.
What I mean by this is doing the following based on how things c...
Beene asked 1/9, 2023 at 22:40
4
Solved
The new 'Material Design 3 top app bar' docs says they got rid of the drop shadow.
How can I enable it? Setting elevation on Toolbar or AppBar does not work at all.
Laguna asked 18/3, 2022 at 13:53
3
Solved
I was looking into Material design Material.io for material components, everything was well and good, I was trying to use MDC's TextField component
to create a material drop down spinner, but I cou...
Fere asked 27/10, 2018 at 12:42
1
I have the following xml:
<LinearLayout
android:id="@+id/ll_two_state"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_m...
Slim asked 12/2 at 16:10
8
Solved
I am implementing card view but I can't find any border option to set a border on it.
here is my card.xml:
<android.support.v7.widget.CardView android:layout_marginTop="10dp"
android:...
Albertalberta asked 12/4, 2016 at 13:39
11
Solved
How to use input type file in angular material
Hi, I am using angular material for designing. when i go on angular material site there no input type file element. anyone know about this.
Cabalist asked 3/10, 2018 at 7:38
3
Solved
I want to change status bar and navigation bar color in my app by default it is not set.
This is my composeable AppTheme function which I need to apply the change in.
val view = LocalView.current
...
Toodleoo asked 3/9, 2023 at 11:21
2
I'm using BottomSheetDialogFragment and I need to know, when the state changed.
For example there are states of BottomSheetBehavior
PEEK_HEIGHT_AUTO - Peek at the 16:9 ratio keyline of its parent. ...
Angelikaangelina asked 19/3, 2019 at 19:36
5
I have used card widget and container both in one screen and set the white color in both and it's display correct in container but not correct in card widget. I have attache the screenshot. in this...
Simla asked 13/4, 2023 at 4:16
6
Solved
How can I get Google Material Icons properly aligned in my Bootstrap buttons?
For example, consider this code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js...
Uball asked 23/11, 2016 at 16:41
4
i'm trying to get te selected date from DatePicker but always i have one day less than the selected
For example, if I select 14/2/2022 i obtain 13/2/2022 and if I select 8/10/2018 i obtain 7/10/201...
Cryptozoite asked 15/2, 2022 at 2:55
5
Solved
All texts in Figma have some height, for example 1.5, but when I set that height to the TextStyle, all lines with the new height are aligned to the bottom.
If using Center or Align widgets - wrong...
Desex asked 14/10, 2021 at 15:36
9
Is it possible to make just the asterisk in the hint red when using a TextInputLayout from the design support library? I have seen information on styling the entire hint, but this is a little more ...
Lycia asked 4/3, 2016 at 14:10
2
Solved
I'm trying to make a MaterialAlertDialog but I keep getting the following error no matter what
java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme....
Nullipore asked 8/4, 2020 at 19:19
13
As the Android documentation says
Snackbars provide lightweight feedback about an operation. They show a brief message at the bottom of the screen on mobile and lower left on larger devices.
I...
Strachey asked 31/7, 2015 at 12:31
4
I have implemented 3 Chip within a ChipGroup in my application successfully, but I am having trouble making an icon at the left appear.
<android.support.design.chip.ChipGroup
android:id="@+id/...
Corelative asked 10/7, 2018 at 15:6
2
Solved
Background:
I'm trying to generate a color palette in SASS/JS based on Google's Material Theme Builder 3 which requires tonal palette's to be generated based on relative luminance and not lightness...
Twopenny asked 12/12, 2021 at 13:22
2
Solved
How can I disable showing underline to material-ui-pickers?
sandbox
https://codesandbox.io/s/l2ykr7kwvz?from-embed
I want to removing underline to its TextField.
I tried
disableUnderline={tr...
Tabitha asked 18/5, 2018 at 3:37
7
I am migrating my app's Material Design theme from V2 (1.4.0) to V3 (1.5.0).
Unlike Theme.MaterialComponents.DayNight, which had a DarkActionBar sub style that used the Primary color for the Action...
Feckless asked 22/11, 2021 at 4:40
© 2022 - 2024 — McMap. All rights reserved.