Top "Material-components-android" questions

Material Components for Android (MDC-Android) help developers execute Material Design.

TextInputLayout suffix/prefix

I want to add suffix to TextInputLayout. An example is taken from the material.io Are there any standard solutions?

android android-textinputlayout material-components material-components-android
Dynamically create Choice Chip in android

I am using Material Components for creating the Choice chip. I have followed https://material.io/develop/android/components/chip/ …

android material-components-android material-components android-chips
How to change floating action button color?

fab.setBackgroundTintList(ColorStateList.valueOf(ContextCompat.getColor(PrivateDealActivity.this, R.color.colorWhite))); This is not working. How to change background color …

android material-design floating-action-button material-components-android material-components
Material Date Picker Custom Styling

i have used range date picker from google material with this library implementation 'com.google.android.material:material:1.2.0-alpha02' …

android material-design android-datepicker material-components material-components-android
MaterialDatePicker not working on Android

I want to change the date picker of my project to the date picker provided by the Material Components for …

java android material-design androidx material-components-android
How to set Floating Action Button image to fill the button?

Usually icons are set for floating action buttons, but I need to set an image, so I can make a …

android material-design android-button floating-action-button material-components-android
How to use MaterialAlertDialogBuilder fine?

When i use dialog.builder the font size is correct but when i use MaterialAlertDialogBuilder the font size of body …

android android-alertdialog material-components-android material-components
com.android.support:design:28.0.0 - Version 28 is the last version of the legacy support library

In my android project in xml I try to use com.google.android.material.textfield.TextInputEditText like this: <com.…

android material-design androidx android-support-design material-components-android
How to get selected chips from ChipGroup?

I search a lot on internet but couldn't find the exact solution. Here is the link that i last tried …

java android material-components-android material-components android-chips
Android - How to disable STATE_HALF_EXPANDED state of a bottom sheet

I have a bottom sheet that should go between 2 states, STATE_COLLAPSED and STATE_EXPANDED when it's collapsed the hight …

android material-components-android