Change-Id: I482c78c542994773ee89fa2528318b5f8e27ac33 [jaysonedson: Updated for android11. Added setting for number of actions to show before adding overflow menu] Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
82 lines
3.4 KiB
XML
82 lines
3.4 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/powermenu_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_screenshot"
|
|
android:icon="@drawable/ic_screenshot"
|
|
android:title="@string/global_actions_screenshot"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_screenrecord"
|
|
android:icon="@drawable/ic_screenshot"
|
|
android:title="@string/global_actions_screenrecord"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_airplane"
|
|
android:icon="@drawable/ic_plane"
|
|
android:title="@string/global_actions_airplane"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_settings"
|
|
android:icon="@drawable/ic_settings"
|
|
android:title="@string/global_actions_settings"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_lockdown"
|
|
android:icon="@drawable/ic_lockdown"
|
|
android:title="@string/global_actions_lockdown"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_flashlight"
|
|
android:icon="@drawable/ic_flashlight"
|
|
android:title="@string/global_actions_flashlight"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_users"
|
|
android:icon="@drawable/ic_users"
|
|
android:title="@string/global_actions_users"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_emergency"
|
|
android:icon="@drawable/ic_emergency"
|
|
android:title="@string/global_actions_emergency"
|
|
android:defaultValue="false" />
|
|
|
|
<!--com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="global_actions_soundpanel"
|
|
android:title="@string/global_actions_soundpanel"
|
|
android:defaultValue="false" /-->
|
|
|
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
|
android:key="global_actions_max_columns"
|
|
android:title="@string/global_actions_max_columns_title"
|
|
android:summary="@string/global_actions_max_columns_summary"
|
|
android:max="8"
|
|
android:min="3"
|
|
android:defaultValue="3"/>
|
|
</PreferenceScreen>
|