Cherish:Add charging animation [2/2]

This commit is contained in:
SKULSHADY
2020-08-21 20:52:48 +07:00
committed by Hưng Phan
parent 4456b46b79
commit ca223970ff
2 changed files with 11 additions and 0 deletions

View File

@@ -671,4 +671,8 @@
<string name="status_bar_toggle_brightness">Brightness control</string>
<string name="status_bar_toggle_brightness_summary">Adjust brightness by sliding across the status bar</string>
<!-- Charger Connected Animation -->
<string name="charging_animation_title">Charging animation</string>
<string name="charging_animation_summary">Display an animation when the device is plugged in</string>
</resources>

View File

@@ -30,6 +30,13 @@
android:icon="@drawable/ic_battery_almostfull"
android:fragment="com.cherish.settings.fragments.BatteryLightSettings"
android:title="@string/battery_light_settings" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="charging_animation"
android:icon="@drawable/ic_charging"
android:title="@string/charging_animation_title"
android:summary="@string/charging_animation_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="notification_screen"