From ccc2b7f0cf1a1ee1d31ad46df6e98c636287e34a Mon Sep 17 00:00:00 2001 From: SuperDroidBond Date: Thu, 5 Mar 2020 10:49:18 +0700 Subject: [PATCH] Cherish: Add more charging animation for users [2/3] --- res/values/cherish_arrays.xml | 19 +++++++++++++++++++ res/values/cherish_strings.xml | 6 ++++++ res/xml/cherish_settings_lockscreen.xml | 17 ++++++++++------- .../fragments/LockScreenSettings.java | 2 ++ 4 files changed, 37 insertions(+), 7 deletions(-) diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index 815b8a1..4f7cd8b 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -245,4 +245,23 @@ 1 0 + + + + @string/lockscreen_charging_animation_off + @string/lockscreen_charging_animation_flash + @string/lockscreen_charging_animation_battery + @string/lockscreen_charging_animation_drop + @string/lockscreen_charging_animation_explosion + @string/lockscreen_charging_animation_water + + + + 0 + 1 + 2 + 3 + 4 + 5 + diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 3f7bdbb..d65e044 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -165,6 +165,12 @@ Charging animation Display an animation when the device is plugged in + Off + Flash + Battery + Drop + Explosion + Water Battery level diff --git a/res/xml/cherish_settings_lockscreen.xml b/res/xml/cherish_settings_lockscreen.xml index 57e96fd..84b355f 100644 --- a/res/xml/cherish_settings_lockscreen.xml +++ b/res/xml/cherish_settings_lockscreen.xml @@ -24,13 +24,16 @@ android:title="@string/lockscreen_battery_info_title" android:summary="@string/lockscreen_battery_info_summary" android:defaultValue="true" /> - - + +