ChagingAnimation: add option for BG Dim to Alpha or Black [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SuperDroidBond
2021-08-23 20:01:27 +05:30
committed by Hưng Phan
parent b2626d388c
commit a7c403f477
2 changed files with 10 additions and 0 deletions

View File

@@ -1429,4 +1429,7 @@
<string name="explosion_charging_animation">Explosion Animation</string>
<string name="rainbow_charging_animation">Rainbow Circle</string>
<string name="fire_charging_animation">Fire Circle</string>
<string name="system_charging">System Charging Options</string>
<string name="charging_animation_bg_title">Charging Background</string>
<string name="charging_animation_bg_summary">Enabling this option will make the background on System Animation to black</string>
</resources>

View File

@@ -42,6 +42,13 @@
android:summary="%s"
android:dependency="charging_animation"
android:defaultValue="1" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="charging_animation_bg"
android:title="@string/charging_animation_bg_title"
android:summary="@string/charging_animation_bg_summary"
android:dependency="charging_animation"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="lockscreen_charging_animation_style"