Since API level 21 you can use :
android:backgroundTint="@android:color/white"
you only have to add this in your xml
More Related Contents:
- How to set background color of a View
- How to change status bar color to match app in Lollipop? [Android]
- How to set custom ActionBar color / style?
- Handling buttons inside android notifications
- Change button color in AlertDialog
- Application crashes at the startup. [closed]
- setBackground vs setBackgroundDrawable (Android)
- Android: combining text & image on a Button or ImageButton
- Android ImageButton with a selected state?
- Changing background color of selected item in recyclerview
- Android: Where is the Spinner widget’s text color attribute hiding?
- Best practice for defining button events in android
- How to change the background color around a DialogFragment?
- how to capture an image in background without using the camera application
- android set button background programmatically
- How to handle Back button with in the dialog?
- How to bring view in front of everything?
- How to open Navigation Drawer with no actionbar, open with just a button
- How to detect “Recent Apps” system button clicks (Honeycomb+)
- Add an array of buttons to a GridView in an Android application
- Single click and double click of a button in android
- running parallel AsyncTask
- how to change background image of button when clicked/focused?
- How to avoid multiple button click at same time in android?
- Multi-State Toggle Button
- Playing short .wav files – Android
- Awful background image quality in Android
- How to change alert dialog header divider color android
- Android: Creating shaped button
- Hex colors in Android are sometimes eight digits. How? What is the difference between #FFFFFF and #FFFFFF00?