瀏覽代碼

Change button text color from black to system text color

This commit changes the button text color from black(#000000) to a prominent text color that varies depending on the theme settings.
czlucius 4 年之前
父節點
當前提交
125bc3089d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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">#000000</item>
+        <item name="android:textColor">?android:attr/textColorPrimary</item>
     </style>
 
 	<!-- separate action bar style for activities without an action bar -->