Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
95 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
79 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
2 votes
0 answers
634 views

I've recently switched from M2 to M3 and would like to make use of Design Tokens now, as described here: https://m3.material.io/styles/color/static/baseline#c9263303-f4ef-4a33-ad57-7d91dc736b6b ...
Sarah's user avatar
  • 21
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
0 votes
1 answer
123 views

I am trying to add a pattern to a mwc-textfield input to filter a file name. My pattern seems to be valid js regex and seems to work on a html input but does not as a pattern on a mwc-textfield. I ...
Harry's user avatar
  • 59
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
0 votes
1 answer
299 views

I'm working on a React project using Material-UI, and I've run into a challenge with input focus management within a dialog. My dialog consists of several input fields, and I want to alter the default ...
Marco Guevara's user avatar
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
738 views

I am using Nextjs with Material UI. I have 2 dialog boxes with different styles but I don't know how to override theme for both by using createTheme. First dialog box have width 200px and the second ...
coder's user avatar
  • 1
0 votes
1 answer
71 views

Following the offical instructions I cannot get an MDCSlider working. It displays but does not react (Tried Chrome, Firefox, Edge). Full stack trace: caught TypeError: Cannot read properties of ...
NotARobot's user avatar
0 votes
1 answer
166 views

I want to have a simple TextField and a TextButton inside a BottomSheet. The TextButton should only be enabled if there is some text in the TextField. However it only enables/disables the button when ...
Tiago Fernandes's user avatar
0 votes
1 answer
2k views

I hope its a simple question - how can I define a button with icon and text in material 15 <button mat-button> <mat-icon>keyboard_arrow_left</mat-icon> Back To Home </button&...
Juri's user avatar
  • 1,771
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

15 30 50 per page
1
2 3 4 5
39