Volume key music control [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -158,4 +158,7 @@
|
|||||||
|
|
||||||
<!--Volume keys -->
|
<!--Volume keys -->
|
||||||
<string name="volume_rocker_wake_summary">Pressing the volume keys will wake your device</string>
|
<string name="volume_rocker_wake_summary">Pressing the volume keys will wake your device</string>
|
||||||
|
<string name="volume_rocker_music_controls_title">Music control</string>
|
||||||
|
<string name="volume_rocker_music_controls_summary">Long press volume buttons to switch tracks while screen off</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -22,11 +22,19 @@
|
|||||||
android:key="volume_category"
|
android:key="volume_category"
|
||||||
android:title="@string/volume_category">
|
android:title="@string/volume_category">
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
|
android:key="volume_button_music_control"
|
||||||
|
android:summary="@string/volume_rocker_music_controls_summary"
|
||||||
|
android:title="@string/volume_rocker_music_controls_title"
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:dependency="volume_rocker_wake" />
|
||||||
|
|
||||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
android:key="volume_rocker_wake"
|
android:key="volume_rocker_wake"
|
||||||
android:summary="@string/volume_rocker_wake_summary"
|
android:summary="@string/volume_rocker_wake_summary"
|
||||||
android:title="@string/volume_rocker_wake_title"
|
android:title="@string/volume_rocker_wake_title"
|
||||||
android:defaultValue="false" />
|
android:defaultValue="false"
|
||||||
|
android:disableDependentsState="true" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user