I\'m new to android programming. How do I change the color of a button?
For the text color add:
android:textColor=""
For the background color add:
android:background=""
From API 21 you can use:
android:backgroundTint=""
android:backgroundTintMode=""
Note: If you're going to work with android/java you really should learn how to google ;)
How to customize different buttons in Android