Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
96 views

My goal is to make text with Dynamic Color enabled more bright and readable, like how it looks without the Dynamic Color. I know that I can set text color programmatically, but this is an approach, ...
MrCookie's user avatar
  • 101
1 vote
0 answers
81 views

I'm trying to apply a custom background to a button in my Android app, but no matter what I do, the button still appears pink instead of using my custom drawable. Here's my button XML: <Button ...
LHK's user avatar
  • 11
2 votes
2 answers
191 views

I'm trying to create a custom interaction where a Floating Action Button (FAB) expands into an EditText when clicked, and collapses back into the FAB when clicked again. The behavior I'm looking for ...
alexC's user avatar
  • 491
1 vote
0 answers
188 views

I haven't found any information on how to change both the active and inactive tracks corner rounding for Android Material range sliders ; how do I do that or work around it? I have read: Android ...
xxfogs's user avatar
  • 79
1 vote
1 answer
199 views

My app needs to support multiple corner radius/aspect ratio combination presets which may be displayed in different orders depending on the user profile being displayed. For example, preset A has ...
Cole Tustin's user avatar
5 votes
4 answers
602 views

I have a BottomSheetDialog that functions as a comment section. At the bottom of it, there is an EditText view that enables users to add a new comment. The issue arises when the keyboard appears—...
Miha M's user avatar
  • 301
1 vote
3 answers
795 views

I want to use M3 colors like ?attr/colorPrimary in my app's launcher icon. I know this is possible because my phone's Settings app does it. I've looked around quite a bit and couldn't find anything ...
Sujit's user avatar
  • 1,802
0 votes
1 answer
150 views

I cannot find a way to attach a badge to new layout objects. with BadgeDrawable.create, The badges work when the corresponding object is present in the layout xml, but they are not displayed for ...
Massimiliano Carosi's user avatar
1 vote
0 answers
215 views

In official Material Design 3 resources do not specify how to use these (surface+x%primary) colors in xml layouts. I tried using these colors in code: protected void onCreate(Bundle savedInstanceState)...
Hayden Ghoul's user avatar
3 votes
2 answers
4k views

I have migrated migrated to Material Design 3 and notice that the DialogFragments are not styled like dialogs created using MaterialAlertDialogBuilder. Do you need to add customized styling to ...
nork's user avatar
  • 51
0 votes
1 answer
843 views

I have tried a number of variations of new MaterialButton(context) including new MaterialButton(new ContextThemeWrapper(context, R.style.Widget_Material3_Button_TonalButton)) but it always results in ...
user959631's user avatar
2 votes
0 answers
743 views

I am using Material Design Components, each fragment in my app has a seperate Toolbar Fragment Owned Toolbar I am having issue setting the custom drawable as the navitaion icon using xml attribute. In ...
Chandra Shekhar's user avatar
0 votes
1 answer
100 views

I created alert dialog with TextInputLayout programmatically in fragment. I need to hide password by default, TextInputLayout has toggle button and it is working as expected hide/show on click. I ...
Ritu's user avatar
  • 706
3 votes
1 answer
3k views

In material design 3, there are 15 types of typography tokens: textAppearanceDisplayLarge (57sp) textAppearanceDisplayMedium (45sp) textAppearanceDisplaySmall (36sp) textAppearanceHeadlineLarge (32sp)...
Taha Sami's user avatar
  • 1,737
1 vote
0 answers
135 views

Does anyone know of a fork of the material-components-android repo (or similar library) that implements an "All day" checkbox, or better yet, an All-day + time range selection feature? Right ...
Sean Blahovici's user avatar

15 30 50 per page
1
2 3 4 5
27