summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-08-01 00:50:06 +0200
committercyBerta <cyberta@riseup.net>2021-11-14 19:44:25 +0100
commit739e0f16c80da1bad574890d6d8c8f09fa7bbbc0 (patch)
treed0a8887160e4b692570d6d46f50a41e2d97ee831
parent41fbc2f409d5438fcc3ce51d5679888d0c8df7a3 (diff)
make button text color customizable
-rw-r--r--app/src/custom/res/values/custom-theme.xml2
-rw-r--r--app/src/main/res/values/colors.xml1
-rw-r--r--app/src/main/res/values/styles.xml1
3 files changed, 4 insertions, 0 deletions
diff --git a/app/src/custom/res/values/custom-theme.xml b/app/src/custom/res/values/custom-theme.xml
index 71d22ac6..6d2bf0f8 100644
--- a/app/src/custom/res/values/custom-theme.xml
+++ b/app/src/custom/res/values/custom-theme.xml
@@ -11,5 +11,7 @@
<color name="colorActionBarSubtitleFont">#cccccc</color>
<!-- Font color of labels in EipFragment (main screen)-->
<color name="colorEipFragmentFont">#ffffff</color>
+ <!-- Font color of rounded standard buttons -->
+ <color name="colorFontBtn">#ffffff</color>
</resources>
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index e911a6d1..86ac1128 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -35,6 +35,7 @@
<color name="colorActionBarTitleFont">@color/white</color>
<color name="colorActionBarSubtitleFont">@color/black800</color>
<color name="colorEipFragmentFont">@color/black800</color>
+ <color name="colorFontBtn">@color/black800</color>
<color name="colorWarning">#B33A3A</color>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index b8c0bc59..9b05d3fe 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -65,6 +65,7 @@
<item name="android:background">@drawable/cust_button_primary</item>
<item name="android:height">36dp</item>
<item name="android:minWidth">75dp</item>
+ <item name="android:textColor">@color/colorFontBtn</item>
</style>
<style name="BitmaskActivity">