Cherish:Volume Rocker Wake
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
7
res/drawable/ic_sleep_off.xml
Normal file
7
res/drawable/ic_sleep_off.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="M2,5.27L3.28,4L20,20.72L18.73,22L12.73,16H9V14L9.79,13.06L2,5.27M23,12H17V10L20.39,6H17V4H23V6L19.62,10H23V12M9.82,8H15V10L13.54,11.72L9.82,8M7,20H1V18L4.39,14H1V12H7V14L3.62,18H7V20Z" />
|
||||
</vector>
|
||||
@@ -126,4 +126,8 @@
|
||||
<!-- Volume rocker music control -->
|
||||
<string name="volume_rocker_music_controls_title">Playback control</string>
|
||||
<string name="volume_rocker_music_controls_summary">When the screen is off, long-pressing the volume keys will seek music tracks</string>
|
||||
|
||||
<!-- Volume rocker wake -->
|
||||
<string name="volume_rocker_wake_title">Volume rocker wake</string>
|
||||
<string name="volume_rocker_wake_summary">Pressing the volume keys will wake your device</string>
|
||||
</resources>
|
||||
|
||||
@@ -19,7 +19,16 @@
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="volume_button_music_control"
|
||||
android:icon="@drawable/ic_music"
|
||||
android:summary="@string/volume_rocker_music_controls_summary"
|
||||
android:title="@string/volume_rocker_music_controls_title"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="volume_rocker_wake"
|
||||
android:icon="@drawable/ic_sleep_off"
|
||||
android:summary="@string/volume_rocker_wake_summary"
|
||||
android:title="@string/volume_rocker_wake_title"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user