Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 1
1 answer
108 views

The best I can do: <com.google.android.material.button.MaterialButtonToggleGroup android:id="@+id/file_type_toggleGroup" android:layout_width="wrap_content" android:...
Score of 0
1 answer
101 views

Side Sheet Dialog Layout: <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/...
Score of 0
2 answers
161 views

XML: <Button android:id="@+id/send_button" style="@style/Widget.Material3.Button.OutlinedButton" android:layout_width="wrap_content" android:...
Score of 0
0 answers
87 views

Up to now, there is no straightforward and official way for creating a Material Tooltip in java. I know that one can create a TooltipDrawable using: TooltipDrawable tooltipDrawable = TooltipDrawable....
Score of -1
1 answer
65 views

I'm using compose compose drawer. since, setStatusBarColor is deprecated on android 15. so, i cant use setStatusBarColor. somehow, google files app achived using some other way. This is the code i ...
Score of 1
1 answer
113 views

I am using a MaterialButtonToggleGroup with MaterialButton buttons in it. I am trying to fit 2 lines of text into some of the buttons, but the buttons get shifted down a bit if they have more than one ...
Score of 0
0 answers
74 views

I am implementing a Material3 Android App. The official guidelines state that an options menu should appear below the action bar: The implementation guide provides the following screenshot: However, ...
Score of 1
0 answers
31 views

I'm looking forward to change the color of this part of TabLayout When user swipes but there's not more items to swipe to. color This is My xml: <com.google.android.material.tabs.TabLayout ...
Score of 0
1 answer
255 views

I'm trying to recreate the Material Design pattern where a Floating Action Button (FAB) is partially embedded (or “cradled”) by a BottomAppBar. In Material Design 2, I used the cutoutShape property on ...
Score of 1
0 answers
61 views

I develop library with composables. Composables have different foregone colors set for light and dark theme. For example backgroundColor, buttonColor, progressLineColor. I don't want library users to ...
Score of 0
1 answer
83 views

I'm migrating my app theme from MaterialComponents to Material3. While I managed to restore most of my app's original colors, I'm struggling with my TextInputLayouts, which now have a subtle (but ...
Score of 0
1 answer
105 views

Given an animation showing an Int value where the composable starts small and gets bigger (using scaleIn) how can the animation be immediately interrupted and restarted? In the following example we ...
Score of 1
1 answer
2246 views

I'm trying to implement something that I feel should be easy but I'm having a hard time. I have a screen with a scaffold, topbar, and lazycolumn as content: I'm using a M3 TopAppBar with a ...
Score of 1
1 answer
224 views

In material 3 transition guideline, there is this example of implementing such a shared transition : https://m3.material.io/styles/motion/transitions/applying-transitions#b74c80e4-10f1-4f46-a140-...
Score of 1
1 answer
106 views

I am trying to create a global custom style for the AppBar and Toolbar in my Android application using MaterialComponents. I want the styles to apply globally across all activities. However, the ...

15 30 50 per page
1
2 3 4 5
91