From 5ecbc29fecf101d5dc1de879fb378bec1f6d12db Mon Sep 17 00:00:00 2001 From: Jonas Kalderstam Date: Tue, 17 Nov 2015 18:37:47 +0100 Subject: [PATCH] Fix icons for notification items --- .../drawable/ic_alarm_24dp_black_active.xml | 26 +++++++++++++++++++ ...active.xml => ic_alarm_add_24dp_white.xml} | 2 +- ...ite_active.xml => ic_clear_24dp_white.xml} | 2 +- app/src/main/res/layout/notification_view.xml | 4 +-- app/src/main/res/values/attr.xml | 1 + app/src/main/res/values/themes.xml | 6 +++-- 6 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 app/src/main/res/drawable/ic_alarm_24dp_black_active.xml rename app/src/main/res/drawable/{ic_alarm_add_24dp_white_active.xml => ic_alarm_add_24dp_white.xml} (96%) rename app/src/main/res/drawable/{ic_clear_24dp_white_active.xml => ic_clear_24dp_white.xml} (96%) diff --git a/app/src/main/res/drawable/ic_alarm_24dp_black_active.xml b/app/src/main/res/drawable/ic_alarm_24dp_black_active.xml new file mode 100644 index 000000000..18709ae0b --- /dev/null +++ b/app/src/main/res/drawable/ic_alarm_24dp_black_active.xml @@ -0,0 +1,26 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_alarm_add_24dp_white_active.xml b/app/src/main/res/drawable/ic_alarm_add_24dp_white.xml similarity index 96% rename from app/src/main/res/drawable/ic_alarm_add_24dp_white_active.xml rename to app/src/main/res/drawable/ic_alarm_add_24dp_white.xml index 00af2ad38..131747280 100644 --- a/app/src/main/res/drawable/ic_alarm_add_24dp_white_active.xml +++ b/app/src/main/res/drawable/ic_alarm_add_24dp_white.xml @@ -21,6 +21,6 @@ android:viewportWidth="24.0" android:viewportHeight="24.0"> diff --git a/app/src/main/res/drawable/ic_clear_24dp_white_active.xml b/app/src/main/res/drawable/ic_clear_24dp_white.xml similarity index 96% rename from app/src/main/res/drawable/ic_clear_24dp_white_active.xml rename to app/src/main/res/drawable/ic_clear_24dp_white.xml index 0705c3bb0..54ebd8637 100644 --- a/app/src/main/res/drawable/ic_clear_24dp_white_active.xml +++ b/app/src/main/res/drawable/ic_clear_24dp_white.xml @@ -21,6 +21,6 @@ android:viewportWidth="24.0" android:viewportHeight="24.0"> diff --git a/app/src/main/res/layout/notification_view.xml b/app/src/main/res/layout/notification_view.xml index 3ed06ab9e..ec4406e7b 100644 --- a/app/src/main/res/layout/notification_view.xml +++ b/app/src/main/res/layout/notification_view.xml @@ -35,7 +35,7 @@ android:layout_marginLeft="4dp" android:contentDescription="Remove reminder" android:scaleType="center" - android:src="@drawable/ic_clear_24dp_black_active" + android:src="?ic_clear_24dp_active" tools:ignore="HardcodedText" /> + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 1fe716504..2d585eba3 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -31,6 +31,7 @@ @color/icon_tint_light @drawable/ic_clear_24dp_black_active @drawable/ic_alarm_add_24dp_black_active + @drawable/ic_alarm_24dp_black_active @style/LightNavbarTheme @style/LightDialogStyle @@ -54,8 +55,9 @@ @color/dark_separator_color @color/dark_selected_item_color @color/icon_tint_dark - @drawable/ic_clear_24dp_white_active - @drawable/ic_alarm_add_24dp_white_active + @drawable/ic_clear_24dp_white + @drawable/ic_alarm_add_24dp_white + @drawable/ic_alarm_24dp_white true @color/primary_dark