Cherish:allow to swap volume buttons rotation based [2/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
maxwen
2018-09-13 09:59:59 +05:30
committed by Hưng Phan
parent 7134f483c4
commit 750178f83c
2 changed files with 10 additions and 0 deletions

View File

@@ -177,4 +177,8 @@
<string name="volte_icon_title">VoLTE icon</string>
<string name="volte_icon_summary">Display VoLTE icon</string>
<!-- Volume swap buttons -->
<string name="swap_volume_buttons_title">Reorient</string>
<string name="swap_volume_buttons_summary">Swap volume buttons when the screen is rotated</string>
</resources>

View File

@@ -21,6 +21,12 @@
<PreferenceCategory
android:key="volume_category"
android:title="@string/volume_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="swap_volume_buttons"
android:title="@string/swap_volume_buttons_title"
android:summary="@string/swap_volume_buttons_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="volume_rocker_wake"