Browse Source

Change alert dialog button text color

This commit changes the text color of the AlertDialog's buttons from `?android:attr/textColorPrimary` to `@color/text_color`.
This ensures that the button text can be readable throughout all themes.
czlucius 4 years ago
parent
commit
2cad7849ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/res/values/styles.xml

+ 1 - 1
src/main/res/values/styles.xml

@@ -86,7 +86,7 @@
 
     <style name="FallbackTheming.Dialog.ButtonStyle"
         parent="Widget.MaterialComponents.Button.TextButton.Dialog">
-        <item name="android:textColor">?android:attr/textColorPrimary</item>
+        <item name="android:textColor">@color/text_color</item>
     </style>
 
 	<!-- separate action bar style for activities without an action bar -->