From ea4c5ca2b27aeabd4a1b000ac2066be6023b2e45 Mon Sep 17 00:00:00 2001 From: Janak Amarasena Date: Sat, 23 Jun 2018 13:05:42 +0530 Subject: Added customisability to main colors --- app/src/custom/res/values/custom-theme.xml | 12 ++++++++++++ app/src/main/res/layout/a_main.xml | 3 ++- app/src/main/res/values/colors.xml | 3 +++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 app/src/custom/res/values/custom-theme.xml (limited to 'app') diff --git a/app/src/custom/res/values/custom-theme.xml b/app/src/custom/res/values/custom-theme.xml new file mode 100644 index 00000000..4421adb9 --- /dev/null +++ b/app/src/custom/res/values/custom-theme.xml @@ -0,0 +1,12 @@ + + + + + #b39ddb + + #ac97d2 + + #ffffff + + #000000 + 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"> 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 @@ #ffffff + @color/white + @color/black800 + -- cgit v1.2.3