80 lines
3.5 KiB
XML
80 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 Nitrogen 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"
|
|
android:title="@string/misc_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
|
|
android:key="gaming_mode_enabled"
|
|
android:icon="@drawable/ic_gaming_mode"
|
|
android:fragment="com.cherish.settings.fragments.GamingMode"
|
|
android:title="@string/gaming_mode_title"
|
|
android:summary="@string/gaming_mode_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="wake_when_plugged_or_unplugged"
|
|
android:icon="@drawable/ic_plug"
|
|
android:title="@string/wake_when_plugged_or_unplugged_title"
|
|
android:summary="@string/wake_when_plugged_or_unplugged_summary"
|
|
android:defaultValue="@*android:bool/config_unplugTurnsOnScreen" />
|
|
|
|
<PreferenceCategory
|
|
android:key="media"
|
|
android:title="@string/media_title">
|
|
|
|
<com.cherish.settings.preferences.GlobalSettingListPreference
|
|
android:icon="@drawable/ic_ring"
|
|
android:key="ringtone_focus_mode"
|
|
android:title="@string/ringtone_focus_mode_title"
|
|
android:entries="@array/ringtone_focus_mode_entries"
|
|
android:entryValues="@array/ringtone_focus_mode_values"
|
|
android:defaultValue="1" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="adaptive_playback_enabled"
|
|
android:icon="@drawable/ic_headset"
|
|
android:title="@string/adaptive_playback_title"
|
|
android:summary="@string/adaptive_playback_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="adaptive_playback_timeout"
|
|
android:icon="@drawable/ic_play"
|
|
android:title="@string/adaptive_playback_timeout_title"
|
|
android:entries="@array/adaptive_playback_timeout_entries"
|
|
android:entryValues="@array/adaptive_playback_timeout_values"
|
|
android:defaultValue="30000"
|
|
android:dependency="adaptive_playback_enabled" />
|
|
</PreferenceCategory>
|
|
|
|
<!-- In-call feedback -->
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="incall_feeedback_vibrate"
|
|
android:icon="@drawable/ic_vibrate"
|
|
android:title="@string/incall_feeedback_vibrate_title"
|
|
android:defaultValue="false"
|
|
settings:controller="com.cherish.settings.fragments.IncallFeedbackPreferenceController" />
|
|
|
|
<Preference
|
|
android:key="audio_panel"
|
|
android:icon="@drawable/ic_music"
|
|
android:fragment="com.cherish.settings.fragments.AudioPanelSettings"
|
|
android:title="@string/audio_panel_view" />
|
|
|
|
</PreferenceScreen>
|