diff --git a/src/conversations/res/drawable-hdpi/ic_notification.png b/src/conversations/res/drawable-hdpi/ic_notification.png deleted file mode 100644 index 32325e5f7..000000000 Binary files a/src/conversations/res/drawable-hdpi/ic_notification.png and /dev/null differ diff --git a/src/conversations/res/drawable-mdpi/ic_notification.png b/src/conversations/res/drawable-mdpi/ic_notification.png deleted file mode 100644 index 379720e94..000000000 Binary files a/src/conversations/res/drawable-mdpi/ic_notification.png and /dev/null differ diff --git a/src/conversations/res/drawable-xhdpi/ic_notification.png b/src/conversations/res/drawable-xhdpi/ic_notification.png deleted file mode 100644 index e14da5dc6..000000000 Binary files a/src/conversations/res/drawable-xhdpi/ic_notification.png and /dev/null differ diff --git a/src/conversations/res/drawable-xxhdpi/ic_notification.png b/src/conversations/res/drawable-xxhdpi/ic_notification.png deleted file mode 100644 index 6adbc8f64..000000000 Binary files a/src/conversations/res/drawable-xxhdpi/ic_notification.png and /dev/null differ diff --git a/src/conversations/res/drawable-xxxhdpi/ic_notification.png b/src/conversations/res/drawable-xxxhdpi/ic_notification.png deleted file mode 100644 index 65d106b8c..000000000 Binary files a/src/conversations/res/drawable-xxxhdpi/ic_notification.png and /dev/null differ diff --git a/src/conversations/res/drawable/ic_app_icon_notification.xml b/src/conversations/res/drawable/ic_app_icon_notification.xml new file mode 100644 index 000000000..51ccc1fae --- /dev/null +++ b/src/conversations/res/drawable/ic_app_icon_notification.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index c6763de38..34a2e1f4a 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -837,8 +837,7 @@ public class NotificationService { } private void setNotificationColor(final Builder mBuilder) { - // TODO can we use themed colors? - mBuilder.setColor(ContextCompat.getColor(mXmppConnectionService, R.color.md_theme_light_primary)); + mBuilder.setColor(ContextCompat.getColor(mXmppConnectionService, R.color.green_600)); } public void updateNotification() { @@ -1181,7 +1180,7 @@ public class NotificationService { mBuilder.setGroupSummary(true); mBuilder.setGroup(MESSAGES_GROUP); mBuilder.setDeleteIntent(createDeleteIntent(null)); - mBuilder.setSmallIcon(R.drawable.ic_notification); + mBuilder.setSmallIcon(R.drawable.ic_app_icon_notification); return mBuilder; } @@ -1328,7 +1327,7 @@ public class NotificationService { .getShortcutInfoCompat(conversation.getMucOptions()); } notificationBuilder.setWhen(conversation.getLatestMessage().getTimeSent()); - notificationBuilder.setSmallIcon(R.drawable.ic_notification); + notificationBuilder.setSmallIcon(R.drawable.ic_app_icon_notification); notificationBuilder.setDeleteIntent(createDeleteIntent(conversation)); notificationBuilder.setContentIntent(createContentIntent(conversation)); if (channel.equals(MESSAGES_NOTIFICATION_CHANNEL)) { diff --git a/src/main/res/values/colors-md.xml b/src/main/res/values/colors-md.xml index acf5c69d0..fa4c60711 100644 --- a/src/main/res/values/colors-md.xml +++ b/src/main/res/values/colors-md.xml @@ -11,6 +11,7 @@ #ffC8E6C9 #ffA5D6A7 #ff4CAF50 + #ff43A047 #ff388E3C #ff2E7D32 diff --git a/src/quicksy/res/drawable-hdpi/ic_arrow_drop_down_black_18dp.png b/src/quicksy/res/drawable-hdpi/ic_arrow_drop_down_black_18dp.png deleted file mode 100644 index f15fe3a5b..000000000 Binary files a/src/quicksy/res/drawable-hdpi/ic_arrow_drop_down_black_18dp.png and /dev/null differ diff --git a/src/quicksy/res/drawable-hdpi/ic_notification.png b/src/quicksy/res/drawable-hdpi/ic_notification.png deleted file mode 100644 index cfb1f18c2..000000000 Binary files a/src/quicksy/res/drawable-hdpi/ic_notification.png and /dev/null differ diff --git a/src/quicksy/res/drawable-mdpi/ic_arrow_drop_down_black_18dp.png b/src/quicksy/res/drawable-mdpi/ic_arrow_drop_down_black_18dp.png deleted file mode 100644 index 68ad72ffe..000000000 Binary files a/src/quicksy/res/drawable-mdpi/ic_arrow_drop_down_black_18dp.png and /dev/null differ diff --git a/src/quicksy/res/drawable-mdpi/ic_notification.png b/src/quicksy/res/drawable-mdpi/ic_notification.png deleted file mode 100644 index 0182fb420..000000000 Binary files a/src/quicksy/res/drawable-mdpi/ic_notification.png and /dev/null differ diff --git a/src/quicksy/res/drawable-xhdpi/ic_arrow_drop_down_black_18dp.png b/src/quicksy/res/drawable-xhdpi/ic_arrow_drop_down_black_18dp.png deleted file mode 100644 index 2a5865da4..000000000 Binary files a/src/quicksy/res/drawable-xhdpi/ic_arrow_drop_down_black_18dp.png and /dev/null differ diff --git a/src/quicksy/res/drawable-xhdpi/ic_notification.png b/src/quicksy/res/drawable-xhdpi/ic_notification.png deleted file mode 100644 index 0bfedb9d8..000000000 Binary files a/src/quicksy/res/drawable-xhdpi/ic_notification.png and /dev/null differ diff --git a/src/quicksy/res/drawable-xxhdpi/ic_arrow_drop_down_black_18dp.png b/src/quicksy/res/drawable-xxhdpi/ic_arrow_drop_down_black_18dp.png deleted file mode 100644 index 06cc5c9a5..000000000 Binary files a/src/quicksy/res/drawable-xxhdpi/ic_arrow_drop_down_black_18dp.png and /dev/null differ diff --git a/src/quicksy/res/drawable-xxhdpi/ic_notification.png b/src/quicksy/res/drawable-xxhdpi/ic_notification.png deleted file mode 100644 index 03226263e..000000000 Binary files a/src/quicksy/res/drawable-xxhdpi/ic_notification.png and /dev/null differ diff --git a/src/quicksy/res/drawable-xxxhdpi/ic_arrow_drop_down_black_18dp.png b/src/quicksy/res/drawable-xxxhdpi/ic_arrow_drop_down_black_18dp.png deleted file mode 100644 index df2614b96..000000000 Binary files a/src/quicksy/res/drawable-xxxhdpi/ic_arrow_drop_down_black_18dp.png and /dev/null differ diff --git a/src/quicksy/res/drawable-xxxhdpi/ic_notification.png b/src/quicksy/res/drawable-xxxhdpi/ic_notification.png deleted file mode 100644 index 953372e50..000000000 Binary files a/src/quicksy/res/drawable-xxxhdpi/ic_notification.png and /dev/null differ diff --git a/src/quicksy/res/drawable/ic_app_icon_notification.xml b/src/quicksy/res/drawable/ic_app_icon_notification.xml new file mode 100644 index 000000000..d27fa1d78 --- /dev/null +++ b/src/quicksy/res/drawable/ic_app_icon_notification.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/src/quicksy/res/drawable/ic_arrow_drop_down_18dp.xml b/src/quicksy/res/drawable/ic_arrow_drop_down_18dp.xml new file mode 100644 index 000000000..20dafee44 --- /dev/null +++ b/src/quicksy/res/drawable/ic_arrow_drop_down_18dp.xml @@ -0,0 +1,12 @@ + + + + + diff --git a/src/quicksy/res/layout/activity_enter_number.xml b/src/quicksy/res/layout/activity_enter_number.xml index 5abe98b5d..63ea37c1b 100644 --- a/src/quicksy/res/layout/activity_enter_number.xml +++ b/src/quicksy/res/layout/activity_enter_number.xml @@ -55,7 +55,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:cursorVisible="false" - android:drawableEnd="@drawable/ic_arrow_drop_down_black_18dp" + android:drawableEnd="@drawable/ic_arrow_drop_down_18dp" android:focusable="false" android:gravity="bottom|center_horizontal" android:imeOptions="flagNoExtractUi"