Top "Android-button" questions

questions about the android.

Set drawable position inside button

I've got a button and a drawable on the left of the text, but I want the drawable to be …

android android-button android-drawable
How to change default color in all texts in my Android application?

I would like to change all color texts in my application. So I wrote this code and I set my …

android colors android-edittext android-button android-theme
what is the best way to do a button group that can be selected and activate independently?

I'm trying to do in android a group of buttons that can be selected and activate only one of them. …

android android-button
Android - State Selector Animations - Only animate de-press, NOT press

I have a very basic selector that I am using as the background for some buttons to achieve down states. …

android android-animation android-button android-selector android-background
Can't change background color on MaterialButton without change colorAccent

Android Studio 3.2.1 Here my layout: <com.google.android.material.button.MaterialButton android:id="@+id/bittrexJsonViewButton" android:layout_width="0dp" …

android material-design android-button material-components-android material-components
Disable button with button selector

I have a button selector that changes the button image when it is pressed. I have also set an image …

android android-button android-selector
Android Toggle Button - Material Design

How do I implement the Toggle Buttons as specified in Material Design guidelines here? Is it available out of the …

android button material-design android-button android-togglebutton
Remove text padding in Button view

I would like to remove the padding around text in Button view. The first screenshot is the result I would …

android android-button
Make Circular Button with Border

I am trying to make a circular button with a transparent background and a colored border. How can I do …

android android-button
Write Multiline Text on Button in Android

I want to know, How to write Multiline Text on Button <Button android:id="@+id/button1" android:layout_width="…

android xml android-widget android-button