Files
packages_apps_Settings/res/xml/volume_steps_settings.xml
Ido Ben-Hur f7df878d2f Settings: Allow customizing volume stream steps [2/2]
only media, calls and alarms seem fit
the rest are pretty much set and forget and don't need vol button granularity

Change-Id: I6ce6fa79df7b94ae84912945f6129048895067b2
2025-12-10 00:41:31 +09:00

47 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2024 Yet Another AOSP Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/volume_steps_title">
<org.evolution.settings.preferences.CustomSeekBarPreference
android:key="max_music_volume"
android:title="@string/max_music_volume_title"
android:max="100"
android:defaultValue="15"
settings:min="15"
settings:interval="5"
settings:units="@string/steps_unit" />
<org.evolution.settings.preferences.CustomSeekBarPreference
android:key="max_call_volume"
android:title="@string/max_call_volume_title"
android:max="30"
settings:min="5"
settings:interval="1"
settings:units="@string/steps_unit" />
<org.evolution.settings.preferences.CustomSeekBarPreference
android:key="max_alarm_volume"
android:title="@string/max_alarm_volume_title"
android:max="30"
settings:min="7"
settings:interval="1"
settings:units="@string/steps_unit" />
</PreferenceScreen>