From 34b5dd698a2a9863803882aa252a9f59b12975a9 Mon Sep 17 00:00:00 2001 From: DennySPB Date: Fri, 17 Dec 2021 02:19:21 +0800 Subject: [PATCH] Cherish: Add volte and vowifi options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hưng Phan --- res/values/cherish_arrays.xml | 69 ++++++++++++++++++++++++++ res/values/cherish_strings.xml | 39 +++++++++++++-- res/xml/cherish_settings_statusbar.xml | 35 +++++++++++-- 3 files changed, 134 insertions(+), 9 deletions(-) diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index eee11f5..06b4f9b 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -140,5 +140,74 @@ 0 1 + + + + @string/volte_icon_vivo + @string/volte_icon_margaritov2 + @string/volte_icon_margaritov + @string/volte_icon_asus + @string/volte_icon_hd + @string/volte_icon_hd2 + @string/volte_icon_miui + @string/volte_icon_emui + @string/volte_icon_oos + @string/volte_icon_volte + @string/volte_icon_vo + + + + 10 + 9 + 8 + 4 + 3 + 5 + 6 + 7 + 2 + 1 + 0 + + + + + @string/vowifi_icon_disabled + @string/vowifi_icon_enabled + @string/vowifi_icon_enabled_volte_disabled + + + + 0 + 1 + 2 + + + + + @string/vowifi_icon_default + @string/vowifi_icon_oneplus + @string/vowifi_icon_moto + @string/vowifi_icon_asus + @string/vowifi_icon_emui + @string/vowifi_icon_simple1 + @string/vowifi_icon_simple2 + @string/vowifi_icon_simple3 + @string/vowifi_icon_vivo + @string/vowifi_icon_margaritov + + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 3748cb9..a0d2521 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -178,10 +178,6 @@ 4G icon Display 4G icon in signal icon instead LTE - - - VoLTE icon - Display VoLTE icon Reorient @@ -281,5 +277,40 @@ Roaming indicator Display roaming indicator in signal icon when in roaming mode + + + VoLTE icon + Display VoLTE icon + VoLTE icon + Display VoLTE icon + Select VoLTE Icon + VoLTE Asus Icon + Vo Only Icon + VoLTE Icon + VoLTE OOS Icon + HD Icon + HD CAF Icon + MIUI 11 Icon + EMUI Icon + HD Filled Icon + Margaritov VoLTE Icon + Vivo Icon + + + VoWiFi icon + VoWiFi icon enabled + VoWiFi icon disabled + VoWiFi instead of VoLTE icon + VoWiFi icon style + Default Icon + EMUI Icon + Asus Icon + OOS Icon + Motorola Icon + Simple1 Icon + Simple2 Icon + Simple3 Icon + Vivo Icon + Margaritov Icon diff --git a/res/xml/cherish_settings_statusbar.xml b/res/xml/cherish_settings_statusbar.xml index d054666..049ade6 100644 --- a/res/xml/cherish_settings_statusbar.xml +++ b/res/xml/cherish_settings_statusbar.xml @@ -46,12 +46,37 @@ android:title="@string/show_fourg_icon_title" android:summary="@string/show_fourg_icon_summary" android:defaultValue="false"/> - + + android:key="show_volte_icon" + android:title="@string/volte_switch_title" + android:summary="@string/volte_switch_summary" + android:defaultValue="true" /> + + + + + +