Cherish:Extended Volume panel [2/2]

Updated for androidx support
This commit is contained in:
alexxxdev
2019-09-08 11:31:06 +07:00
committed by Hung Phan
parent 58937729f4
commit eff358c880
10 changed files with 174 additions and 10 deletions

57
res/xml/audio_panel.xml Normal file
View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 gzosp
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-auto"
android:key="button_settings"
android:title="@string/audio_panel_view">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_media"
android:icon="@drawable/ic_music"
android:title="@string/audio_panel_view_media_title"
android:defaultValue="true"
android:enabled="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_ringer"
android:icon="@drawable/ic_ring"
android:title="@string/audio_panel_view_ringer_title"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_notification"
android:icon="@drawable/ic_notification"
android:title="@string/audio_panel_view_notification_title"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_alarm"
android:icon="@drawable/ic_alarm"
android:title="@string/audio_panel_view_alarm_title"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_voice"
android:icon="@drawable/ic_voice"
android:title="@string/audio_panel_view_voice_title"
android:defaultValue="false"/>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="audio_panel_view_bt_sco"
android:icon="@drawable/ic_bluetooth"
android:title="@string/audio_panel_view_bt_sco_title"
android:defaultValue="false"/>
</PreferenceScreen>