74 lines
3.1 KiB
XML
74 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2016-2019 crDroid Android 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/gaming_mode_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="gaming_mode_headsup_toggle"
|
|
android:title="@string/gaming_mode_headsup_title"
|
|
android:summary="@string/gaming_mode_headsup_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="gaming_mode_hw_keys_toggle"
|
|
android:title="@string/gaming_mode_hardware_keys_title"
|
|
android:summary="@string/gaming_mode_hardware_keys_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="gaming_mode_manual_brightness_toggle"
|
|
android:title="@string/gaming_mode_brightness_title"
|
|
android:summary="@string/gaming_mode_brightness_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="gaming_mode_ringer_mode"
|
|
android:title="@string/gaming_mode_ringer_title"
|
|
android:entries="@array/gaming_mode_ringer_entries"
|
|
android:entryValues="@array/gaming_mode_ringer_values"
|
|
android:defaultValue="0"
|
|
android:summary="%s" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="gaming_mode_notifications"
|
|
android:title="@string/gaming_mode_notifications_title"
|
|
android:entries="@array/gaming_mode_notifications_entries"
|
|
android:entryValues="@array/gaming_mode_notifications_values"
|
|
android:defaultValue="3"
|
|
android:summary="%s" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="gaming_mode_dynamic_state"
|
|
android:title="@string/gaming_mode_dynamic_title"
|
|
android:summary="@string/gaming_mode_dynamic_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/gaming_mode_app_picker_title"
|
|
android:key="gamingmode_applications">
|
|
|
|
<Preference
|
|
android:key="add_gamingmode_packages"
|
|
android:icon="@drawable/ic_menu_add_white"
|
|
android:title="@string/add_gaming_mode_package_title" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|