From 0a51bfc40b0376db9b11beecd72634799a108e4d Mon Sep 17 00:00:00 2001 From: tina <lt-bloody@riox.eu> Date: Fri, 31 Aug 2018 17:43:13 +0200 Subject: [PATCH] makes the default colors easily exchangable --- android/app/src/main/res/values/colors.xml | 12 ++++++++++++ android/app/src/main/res/values/styles.xml | 1 + 2 files changed, 13 insertions(+) create mode 100644 android/app/src/main/res/values/colors.xml diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml new file mode 100644 index 00000000..2f5e5f86 --- /dev/null +++ b/android/app/src/main/res/values/colors.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- color for the app bar and other primary UI elements --> + <color name="colorPrimary">#ff7e5f</color> + + <!-- a darker variant of the primary color, used for + the status bar (on Android 5.0+) and contextual app bars --> + <color name="colorPrimaryDark">#c74e34</color> + + <!-- a secondary color for controls like checkboxes and text fields --> + <color name="colorAccent">#351c4d</color> +</resources> \ No newline at end of file diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index 319eb0ca..55362754 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -3,6 +3,7 @@ <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <!-- Customize your theme here. --> + <item name="colorAccent">@color/colorAccent</item> </style> </resources> -- GitLab