Top "Android-button" questions

questions about the android.

Apply and Clear ColorFilter on view in Android

I have 2 buttons with different parents. I am trying to apply button effect onTouch of the button. Here is my …

android android-drawable android-button effects colorfilter
Why does maxWidth on a Button not work and how to work around it?

I have two buttons on the layout, and on a large-screen device (tablets) I want to cap their width so …

android android-layout android-button
Android 5.0 - ProgressBar cannot be displayed over a Button

I think the title is pretty explicit about my problem... So here is my layout : <RelativeLayout android:layout_width="…

android android-button android-progressbar android-5.0-lollipop
Removing the shadow on an android button

I have searched and tryed all found solutions to this. I need to remove the shadow from a button in …

android android-layout android-button shadow
Align Buttons in GridLayout

My layout code and its graphical representation is: This is just an example, I have about 30 Buttons in my application …

android android-button gravity grid-layout
Disabled color state of Material button

The Material Spec shows a disabled button state that looks greyed out. https://www.material.io/design/components/buttons.html#…

android android-layout colors material-design android-button
How to rotate views on orientation change without recreating layout?

This question has been asked before here but its answer is incorrect. I would like to rotate some views on …

android android-layout rotation android-button android-orientation
Material Button with icon on the right

The new material button from Google is really nice. According to the documentation, we can set an icon who's shown …

android material-design android-button material-components material-components-android
Listview with Checkbox,RadioButton,Textview and button not working correctly in android

I am creating a android app the UI of my application is below given. On clicking of submit button, I …

android android-listview android-button android-checkbox
Can't use android:background with button from the new material components

I'm using the new material components com.google.android.material:material with android x but I can't set a custom …

android material-design android-button material-components-android material-components