From e70681fee84f44176b2eb8d514088417543c639a Mon Sep 17 00:00:00 2001 From: Tejasvp25 Date: Wed, 18 Nov 2020 23:41:05 +0700 Subject: [PATCH] KG Charging Animation: Add more animations [2/3] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: spezi77 Signed-off-by: Hưng Phan --- res/values/cherish_arrays.xml | 19 +++++++++++++++++++ res/values/cherish_strings.xml | 8 ++++++-- res/xml/cherish_settings_lockscreen.xml | 9 +++++---- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index cfabec7..9c9ae3d 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -658,4 +658,23 @@ 7 5 + + + + @string/disabled + @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 a1155e4..02b02f1 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -725,8 +725,12 @@ Charging animation Display an animation when the device is plugged in - Lockscreen charging animation - Display a fancy animation when the device is charging + Charging animation + Flash + Battery + Drop + Explosion + Water Click to partial screenshot Short click Volume Down and Power to take partial screenshot diff --git a/res/xml/cherish_settings_lockscreen.xml b/res/xml/cherish_settings_lockscreen.xml index 7f6476d..c3193b4 100644 --- a/res/xml/cherish_settings_lockscreen.xml +++ b/res/xml/cherish_settings_lockscreen.xml @@ -32,12 +32,13 @@ android:summary="@string/charging_animation_summary" android:defaultValue="true" /> - + android:entries="@array/lockscreen_charging_animation_entries" + android:entryValues="@array/lockscreen_charging_animation_values" + android:defaultValue="1" />