sounds: Add toggle for volume percent [2/2]

Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
This commit is contained in:
minaripenguin 2024-05-17 15:04:50 +08:00 committed by elpaablo
parent 057a1d4e85
commit b92fb55e89
2 changed files with 11 additions and 0 deletions

View file

@ -338,4 +338,8 @@
<string name="three_finger_gesture_action_title">Three Finger Swipe Gestures</string>
<string name="three_finger_gesture_action_dialog_title">Swipe Three Finger Gestures Actions</string>
<!-- Volume Row Percent -->
<string name="volume_show_volume_percent_title">Show Volume Row Percentage</string>
<string name="volume_show_volume_percent_summary">Show volume row progress percentage</string>
</resources>

View file

@ -78,6 +78,13 @@
android:icon="@drawable/ic_settings_sound"
android:title="@string/volume_panel_on_left_title" />
<com.alpha.settings.preferences.SecureSettingSwitchPreference
android:key="volume_show_volume_percent"
android:title="@string/volume_show_volume_percent_title"
android:summary="@string/volume_show_volume_percent_summary"
android:defaultValue="true"/>
<com.alpha.settings.preferences.SecureSettingSeekBarPreference
android:key="volume_dialog_dismiss_timeout"
android:icon="@drawable/ic_music_note"