Android : change button text and background color May 23, 2023 by Tarik Since API level 21 you can use : android:backgroundTint="@android:color/white" you only have to add this in your xml