23 questions
0 votes
1 answer
497 views
Jetpack Compose SwipeToDismissBox goes till the end of screen
I am trying to implement a swipe to dismiss feature in my app, and it works fine except for a small UI issue. When I swipe from end to start, I want the top front container to just decrease in size ...
0 votes
1 answer
928 views
Jetpack Compose: Apply color contrast dynamically based on system
With the new color contrast feature in android 15, I have now defined a new color palette for low, medium and high color contrast for both light and dark scheme. How can I apply this dynamically based ...
0 votes
1 answer
899 views
Angular Material 18 (Material Design 3) theming - get color from theme and write into a custom property
I use Angular Material 18 in my little pet project and have custom theme defined. I can access the variable and (for example) set it as a text:color like so: .some-selector { color: mat.get-theme-...
-1 votes
1 answer
40 views
Getting the selected item from the dropdown does not work
I am using Material Dropdown in my android application. Everything works until I want to get the data from the dropdown. I want to get the data from the dropdown when the save button is clicked. I do ...
4 votes
0 answers
384 views
How to apply contrast to angular material theme m-3
I have some difficulty applying the contrast color to the new theming m-3. m-2 configuration allowed us to use contrast like this $mat-warn: ( 50: #fee8e7, 100: #fcc6c3, 200: #faa19b, 300: #...
1 vote
1 answer
634 views
Warning message "Could not find Angular Material core theme" witn Angular 3, Angular Material and Angular Material Experimental
I've succesfully applied custom color palette with Material 3 and Angular Material Experimental, but I keep getting the warning in console "Could not find Angular Material core theme. Most ...
0 votes
0 answers
187 views
Extendable quick settings tile
In Android 12L google added an extendable quick settings tile for internet(wifi and mobile data combined), for screen recorder, and for chromecast. And my question is, can developers themselves create ...
1 vote
0 answers
50 views
How to add background/highlight to call attention to the selected field in time picker input in Android ..?
I have used time picker from material design 3 :- https://m3.material.io/components/time-pickers/specs#e1dd4084-e5ff-45e3-8932-42ea605549b4 When I toggle the time picker from dial to input mode the ...
0 votes
0 answers
105 views
Rounded CircularProggresionIndicator
im trying to make my circular proggresion rounded as it should be https://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary#CircularProgressIndicator(androidx.compose....
1 vote
1 answer
792 views
Material Design 3 MaterialSwitch used in include layout does not change visual state
The Material Design 3 MaterialSwitch used in include layout does not change visual state when tap or slide to the right. Condsider what happens, when I tap or slide the enabled Material Switch: ...
0 votes
2 answers
477 views
flutter wont update widgets to material design 3
My flutter app wont use materal desing 3 after adding useMaterial3:true in theme I added the flag according to the the blog and material design website(flutter)
3 votes
1 answer
2k views
How to use Material 3 Surface tones in Flutter?
In my application, I am using Material 3 for theming. I created a theme at Figma with Material Theme Builder and add generated code to my app. But there is something that I can not figure out how to ...
1 vote
0 answers
386 views
Android Studio design view invisible when using certain Material 3 components
Recently I started using Material 3 Design components in my app. For some reason though, the design view goes invisible when using certain Material 3 components in my xml code. As soon as I delete ...
4 votes
4 answers
5k views
How to increase the track height of a slider in material design 3
@Composable fun SliderWithCustomTrackAndThumb() { var sliderPosition by remember { mutableStateOf(0f) } val interactionSource = MutableInteractionSource() val colors = SliderDefaults....
5 votes
0 answers
502 views
How to use opacity's theme tokens in Material Design 3
During theme's migration process I stuck with opacity's token in Material Design 3. I didn't find any in androidx.compose.material3. I'm looking for something like construction below I was used with ...