Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
118 views

ShapeableImageView - Changing height results in cut-off corners when applying new ShapeAppearanceModel

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
0 votes
1 answer
500 views

android studio - fail to build project after Material dependency upgrade

The requirement is to upgrade all gradle dependencies of an old android app. Managed to upgrade all to latest and is able to build and run the app. When I upgraded the Material dependency from com....
Sam's user avatar
  • 422
0 votes
0 answers
284 views

Why my modal bottom sheets don't show Drag handle?

For some reason, the Drag handle is not visible on my modal bottom sheets. My main theme is a descendant of the Theme.Material3.Light.NoActionBar. The bottom sheet style is added to the theme: <...
Skullper's user avatar
  • 754
0 votes
0 answers
69 views

How can I equally space items of BottomNavigationView

I am using a BottomNavigationView from material library, how can I evenly distribute the buttons of the BottomNavigationView in tablet mode, instead of having all the buttons centered? This is my XML &...
Toqgcm's user avatar
  • 35
1 vote
0 answers
56 views

Is it possible to change the shape of the material design slider? Android, Kotlin

The slider by material design has by default a pill shape. Is it possible to change that shape to a rectangle? This is my goal. Green is the background, purple is 10% of progress, black is the 90% of ...
MaDudeeK's user avatar
2 votes
1 answer
594 views

How to change the selected background color with the same opacity on MaterialButtonToggleGroup

Here is the XML code of My MaterialButtonToggleGroup <com.google.android.material.button.MaterialButtonToggleGroup android:id="@+id/type_toggle" android:layout_width=&...
Goutham's user avatar
  • 170
2 votes
1 answer
195 views

A new design for the Material Design website has been launched but I can not find the implementation tab, Where did the tab go?

Previously there were 5 tabs, Overview, Specs, Guidelines, Implementation, and Accessibility, But now there are 4 tabs only. I can not find the implementation tab in the new design for the website, ...
Taha Sami's user avatar
  • 1,649
1 vote
3 answers
1k views

@style/Widget.Material3.Button causing render problem

When I'm applying style to my button @style/Widget.Material3.Button then it is making the whole layout design disappear and the layout is not visible anymore. Here is my XML Code. <Button style=...
Cypher's user avatar
  • 337
0 votes
2 answers
165 views

I am building a News Application in Android. I have to create a filter for category. I want to create a category component as given in the below image

I don't know what i am supposed to use to build a filter like this.
Hardik Dhuri's user avatar
3 votes
1 answer
679 views

How to set year limit in MaterialDatePicker dialog Android Studio

I'm having trouble set max. and min. years in Material Design Datepickerdialog, also put an image of the Material Date picker dialog box where only one year is being shown. Below is Code long ...
Farzan Siddiqui's user avatar
2 votes
2 answers
3k views

Material Design 3 DialogFragment is not styled like Dialogs using MaterialAlertDialogBuilder

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
  • 41
10 votes
4 answers
8k views

Error inflating class com.google.android.material.button.MaterialButton

What i'm trying to achieve is having a gridview with some materialButton inside. I tried to create the gridview like : <GridView android:id="@+id/login_gridview_code_input" ...
Anon's user avatar
  • 564
0 votes
1 answer
1k views

ItemActiveIndicator in not Visible in Material 3 Bottom Navigation Bar by Default in Android

implementation 'com.google.android.material:material:1.5.0' added this already in Build.Gradle . . Code for implementing Bottom Navigation Bar: <?xml version="1.0" encoding="utf-8&...
Abhinav Sharma's user avatar
14 votes
1 answer
8k views

How to implement a themed monochrome icon for Material You

How would I implement a monochrome icon like other google apps so that it matches the dynamic colours picked by Material You?
user14678216's user avatar
  • 3,381
1 vote
0 answers
98 views

To develop a side menù bar like Gmail Android App

Which is the component used to develop the side bar on Gmail Android App ? It seems a Navigation rail but animated like a Navigation drawer. I have tried to put the two component in the same layout, ...
aeroxr1's user avatar
  • 1,064

15 30 50 per page