Android: Add volume control to settings

This commit is contained in:
Connor McLaughlin 2020-10-14 18:07:12 +10:00
parent ad827155e6
commit 8b6309aff6
1 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,15 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<SeekBarPreference
app:key="Audio/OutputVolume"
app:title="Volume"
app:summary="Controls the volume of the emulator's sound output."
app:defaultValue="100"
android:max="100"
app:min="0"
app:iconSpaceReserved="false"
app:showSeekBarValue="true" />
<SwitchPreferenceCompat
app:key="Audio/OutputMuted"
app:title="Mute All Sound"