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:
7
res/drawable/ic_flash.xml
Normal file
7
res/drawable/ic_flash.xml
Normal 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>
|
||||||
@@ -725,6 +725,8 @@
|
|||||||
<!-- Charging animation -->
|
<!-- Charging animation -->
|
||||||
<string name="charging_animation_title">Charging animation</string>
|
<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="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_title">Click to partial screenshot</string>
|
||||||
<string name="click_partial_screenshot_summary">Short click Volume Down and Power to take partial screenshot</string>
|
<string name="click_partial_screenshot_summary">Short click Volume Down and Power to take partial screenshot</string>
|
||||||
|
|||||||
@@ -32,6 +32,13 @@
|
|||||||
android:summary="@string/charging_animation_summary"
|
android:summary="@string/charging_animation_summary"
|
||||||
android:defaultValue="true" />
|
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
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
android:key="fingerprint_success_vib"
|
android:key="fingerprint_success_vib"
|
||||||
android:icon="@drawable/ic_fingerprint"
|
android:icon="@drawable/ic_fingerprint"
|
||||||
|
|||||||
Reference in New Issue
Block a user