From ca8ae69e7049d98b984b8d7f3ffacdc99173a159 Mon Sep 17 00:00:00 2001 From: XJIOP Date: Mon, 13 Jan 2020 22:40:11 +0100 Subject: [PATCH] renamed alarm icon to bell --- .../main/java/org/xjiop/oxygenaodmod/Helper.java | 10 +++++----- .../drawable-anydpi/{ic_alarm.xml => ic_bell.xml} | 0 .../res/drawable-hdpi/{ic_alarm.png => ic_bell.png} | Bin .../res/drawable-mdpi/{ic_alarm.png => ic_bell.png} | Bin .../drawable-xhdpi/{ic_alarm.png => ic_bell.png} | Bin .../drawable-xxhdpi/{ic_alarm.png => ic_bell.png} | Bin app/src/main/res/values-ru/strings.xml | 1 + app/src/main/res/values/strings.xml | 1 + 8 files changed, 7 insertions(+), 5 deletions(-) rename app/src/main/res/drawable-anydpi/{ic_alarm.xml => ic_bell.xml} (100%) rename app/src/main/res/drawable-hdpi/{ic_alarm.png => ic_bell.png} (100%) rename app/src/main/res/drawable-mdpi/{ic_alarm.png => ic_bell.png} (100%) rename app/src/main/res/drawable-xhdpi/{ic_alarm.png => ic_bell.png} (100%) rename app/src/main/res/drawable-xxhdpi/{ic_alarm.png => ic_bell.png} (100%) diff --git a/app/src/main/java/org/xjiop/oxygenaodmod/Helper.java b/app/src/main/java/org/xjiop/oxygenaodmod/Helper.java index c01c5d1..bbdfc2e 100644 --- a/app/src/main/java/org/xjiop/oxygenaodmod/Helper.java +++ b/app/src/main/java/org/xjiop/oxygenaodmod/Helper.java @@ -42,8 +42,8 @@ public class Helper { public static Map iconList() { Map arr = new HashMap<>(); - arr.put("alarm", R.drawable.ic_alarm); arr.put("android", R.drawable.ic_android); + arr.put("bell", R.drawable.ic_bell); arr.put("eye", R.drawable.ic_eye); arr.put("info", R.drawable.ic_info); arr.put("star", R.drawable.ic_star); @@ -78,10 +78,10 @@ public static String categoryName(Context context, String category) { public static String iconName(Context context, String icon) { switch (icon) { - case "alarm": - return context.getString(R.string.alarm); case "android": return context.getString(R.string.android); + case "bell": + return context.getString(R.string.bell); case "eye": return context.getString(R.string.eye); case "info": @@ -218,10 +218,10 @@ static int myIcon(String icon) { return R.drawable.ic_warning; switch (icon) { - case "alarm": - return R.drawable.ic_alarm; case "android": return R.drawable.ic_android; + case "bell": + return R.drawable.ic_bell; case "eye": return R.drawable.ic_eye; case "info": diff --git a/app/src/main/res/drawable-anydpi/ic_alarm.xml b/app/src/main/res/drawable-anydpi/ic_bell.xml similarity index 100% rename from app/src/main/res/drawable-anydpi/ic_alarm.xml rename to app/src/main/res/drawable-anydpi/ic_bell.xml diff --git a/app/src/main/res/drawable-hdpi/ic_alarm.png b/app/src/main/res/drawable-hdpi/ic_bell.png similarity index 100% rename from app/src/main/res/drawable-hdpi/ic_alarm.png rename to app/src/main/res/drawable-hdpi/ic_bell.png diff --git a/app/src/main/res/drawable-mdpi/ic_alarm.png b/app/src/main/res/drawable-mdpi/ic_bell.png similarity index 100% rename from app/src/main/res/drawable-mdpi/ic_alarm.png rename to app/src/main/res/drawable-mdpi/ic_bell.png diff --git a/app/src/main/res/drawable-xhdpi/ic_alarm.png b/app/src/main/res/drawable-xhdpi/ic_bell.png similarity index 100% rename from app/src/main/res/drawable-xhdpi/ic_alarm.png rename to app/src/main/res/drawable-xhdpi/ic_bell.png diff --git a/app/src/main/res/drawable-xxhdpi/ic_alarm.png b/app/src/main/res/drawable-xxhdpi/ic_bell.png similarity index 100% rename from app/src/main/res/drawable-xxhdpi/ic_alarm.png rename to app/src/main/res/drawable-xxhdpi/ic_bell.png diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 415ac5d..004f46d 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -68,6 +68,7 @@ Введите число Иконка Андроид + Звонок Глаз Инфо Звезда diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 223c43e..25aab87 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -72,6 +72,7 @@ Enter a number Icon Android + Bell Eye Info Star