Cherish:Double tap to sleep on the lock screen and status bar (2/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -163,5 +163,13 @@
|
||||
<string name="quick_pulldown_right">Pulldown status bar from right side</string>
|
||||
<string name="quick_pulldown_left">Pulldown status bar from left side</string>
|
||||
<string name="quick_pulldown_always">Always show quick settings on status bar pull down</string>
|
||||
|
||||
<!-- Statusbar double tap to sleep -->
|
||||
<string name="double_tap_to_sleep_title">Status bar double tap to sleep</string>
|
||||
<string name="double_tap_to_sleep_summary">Double tap on the status bar to put the device to sleep</string>
|
||||
|
||||
<!-- Lockscreen double tap to sleep -->
|
||||
<string name="double_tap_sleep_lockscreen_title">Lockscreen double tap to sleep</string>
|
||||
<string name="double_tap_sleep_lockscreen_summary">Double tap anywhere on the lockscreen to put the device to sleep</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -17,5 +17,17 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/gestures_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="double_tap_sleep_lockscreen"
|
||||
android:title="@string/double_tap_sleep_lockscreen_title"
|
||||
android:summary="@string/double_tap_sleep_lockscreen_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="double_tap_sleep_gesture"
|
||||
android:title="@string/double_tap_to_sleep_title"
|
||||
android:summary="@string/double_tap_to_sleep_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user