summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorJanak Amarasena <janakamarasena@gmail.com>2018-06-23 13:05:42 +0530
committerJanak Amarasena <janakamarasena@gmail.com>2018-06-23 13:05:42 +0530
commitea4c5ca2b27aeabd4a1b000ac2066be6023b2e45 (patch)
tree021e30145e45726b276f1b7b4dbae3d95109bb28 /app/src/main
parente39762735faa8e66b6bb526c1775f13d0e91da4e (diff)
Added customisability to main colors
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/a_main.xml3
-rw-r--r--app/src/main/res/values/colors.xml3
2 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/res/layout/a_main.xml b/app/src/main/res/layout/a_main.xml
index bed05d18..21fdaa66 100644
--- a/app/src/main/res/layout/a_main.xml
+++ b/app/src/main/res/layout/a_main.xml
@@ -20,7 +20,8 @@
android:minHeight="?attr/actionBarSize"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- app:titleTextColor="@android:color/white"
+ app:titleTextColor="@color/colorActionBarTitleFont"
+ app:subtitleTextColor="@color/colorActionBarSubtitleFont"
android:background="?attr/colorPrimary">
</android.support.v7.widget.Toolbar>
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 53ead009..40ab06c5 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -27,4 +27,7 @@
<color name="white">#ffffff</color>
+ <color name="colorActionBarTitleFont">@color/white</color>
+ <color name="colorActionBarSubtitleFont">@color/black800</color>
+
</resources>