Cherish:Add toggle for charging animation [2/2]

Signed-off-by: spezi77 <spezi7713@gmx.net>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Pranav Vashi
2019-06-15 17:29:43 +05:30
committed by Hưng Phan
parent e16b131e93
commit feeb05740e
3 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="?android:attr/colorControlNormal" android:pathData="M7,2V13H10V22L17,10H13L17,2H7Z" />
</vector>

View File

@@ -725,6 +725,8 @@
<!-- Charging animation -->
<string name="charging_animation_title">Charging animation</string>
<string name="charging_animation_summary">Display an animation when the device is plugged in</string>
<string name="lockscreen_charging_animation_title">Lockscreen charging animation</string>
<string name="lockscreen_charging_animation_summary">Display a fancy animation when the device is charging</string>
<string name="click_partial_screenshot_title">Click to partial screenshot</string>
<string name="click_partial_screenshot_summary">Short click Volume Down and Power to take partial screenshot</string>

View File

@@ -32,6 +32,13 @@
android:summary="@string/charging_animation_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_charging_animation"
android:icon="@drawable/ic_flash"
android:title="@string/lockscreen_charging_animation_title"
android:summary="@string/lockscreen_charging_animation_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="fingerprint_success_vib"
android:icon="@drawable/ic_fingerprint"