changeset 26:43f6534036ec

Choose a color theme.
author David Barts <n5jrn@me.com>
date Tue, 23 Feb 2021 20:59:46 -0800
parents 648908f492c0
children 67170d98f10e
files app/src/main/res/drawable-anydpi/ic_action_settings.xml app/src/main/res/drawable-hdpi/ic_action_settings.png app/src/main/res/drawable-mdpi/ic_action_settings.png app/src/main/res/drawable-xhdpi/ic_action_settings.png app/src/main/res/drawable-xxhdpi/ic_action_settings.png app/src/main/res/values/colors.xml app/src/main/res/values/themes.xml
diffstat 7 files changed, 19 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/app/src/main/res/drawable-anydpi/ic_action_settings.xml	Tue Feb 23 18:36:19 2021 -0800
+++ b/app/src/main/res/drawable-anydpi/ic_action_settings.xml	Tue Feb 23 20:59:46 2021 -0800
@@ -3,8 +3,8 @@
     android:height="24dp"
     android:viewportWidth="24"
     android:viewportHeight="24"
-    android:tint="#333333"
-    android:alpha="0.6">
+    android:tint="#FFFFFF"
+    android:alpha="0.8">
   <path
       android:fillColor="@android:color/white"
       android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z"/>
Binary file app/src/main/res/drawable-hdpi/ic_action_settings.png has changed
Binary file app/src/main/res/drawable-mdpi/ic_action_settings.png has changed
Binary file app/src/main/res/drawable-xhdpi/ic_action_settings.png has changed
Binary file app/src/main/res/drawable-xxhdpi/ic_action_settings.png has changed
--- a/app/src/main/res/values/colors.xml	Tue Feb 23 18:36:19 2021 -0800
+++ b/app/src/main/res/values/colors.xml	Tue Feb 23 20:59:46 2021 -0800
@@ -7,4 +7,12 @@
     <color name="teal_700">#FF018786</color>
     <color name="black">#FF000000</color>
     <color name="white">#FFFFFFFF</color>
+    <color name="colorPrimary">#FF673AB7</color>
+    <color name="colorPrimaryVariant">#FF512DA8</color>
+    <color name="colorOnPrimary">#FFFFFFFF</color>
+    <color name="colorSecondary">#FF009688</color>
+    <color name="colorSecondaryVariant">#FF009688</color>
+    <color name="colorOnSecondary">#FFFFFFFF</color>
+    <color name="textColorPrimary">#FF212121</color>
+    <color name="textColorSecondary">#FF757575</color>
 </resources>
\ No newline at end of file
--- a/app/src/main/res/values/themes.xml	Tue Feb 23 18:36:19 2021 -0800
+++ b/app/src/main/res/values/themes.xml	Tue Feb 23 20:59:46 2021 -0800
@@ -2,13 +2,16 @@
     <!-- Base application theme. -->
     <style name="Theme.SimpleResizer" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
         <!-- Primary brand color. -->
-        <item name="colorPrimary">@color/purple_500</item>
-        <item name="colorPrimaryVariant">@color/purple_700</item>
-        <item name="colorOnPrimary">@color/white</item>
+        <item name="colorPrimary">@color/colorPrimary</item>
+        <item name="colorPrimaryVariant">@color/colorPrimaryVariant</item>
+        <item name="colorOnPrimary">@color/colorOnPrimary</item>
         <!-- Secondary brand color. -->
-        <item name="colorSecondary">@color/teal_200</item>
-        <item name="colorSecondaryVariant">@color/teal_700</item>
-        <item name="colorOnSecondary">@color/black</item>
+        <item name="colorSecondary">@color/colorSecondary</item>
+        <item name="colorSecondaryVariant">@color/colorSecondaryVariant</item>
+        <item name="colorOnSecondary">@color/colorOnSecondary</item>
+        <!-- Text colors. -->
+        <item name="android:textColorPrimary">@color/textColorPrimary</item>
+        <item name="android:textColorSecondary">@color/textColorSecondary</item>
         <!-- Status bar color. -->
         <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
         <!-- Customize your theme here. -->