Top "Material-components" questions

Modular and customizable Material Design UI components.

how to set materialButton icon to the center

I am using supportLibrary = "28.0.0-beta01" version. Here is my code in .xml file: <android.support.design.button.MaterialButton android:…

android android-button material-components
MaterialCardView crashes with material:1.1.0

I am using MaterialCardView as my cardview layout. Now, Android-studio started showing me that instead of current implementation "com.google.…

android android-layout android-cardview material-components-android material-components
Change Chip Widget style programmatically not working - Android

I'm doing a list with Chips. I want this chips can be selected, so, taking a look to https://material.…

android kotlin material-components material-components-android android-chips
What is AppBar vs ToolBar?

All the material-ui examples show Toolbar inside Appbar. Why not just Appbar? What's the difference between the two? https://material.…

reactjs material-ui material-components
How to center icon in a MaterialButton which has no text?

I'm using the latest version of the com.google.android.material:material library (i.e. 1.1.0-alpha03) and I have a …

android material-components material-components-android
Badge on BottomNavigationView

I am trying to add a badge to the BottomNavigationView Item without using any library, however somehow the BottomNavigationView is …

android android-layout bottomnavigationview material-components-android material-components
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