Change-Id: Iae2fa48103c08d95c4dc855b8544056a920dc75f Signed-off-by: Pranav Vashi <neobuddy89@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">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/panel_porn_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="transparent_power_menu"
|
|
android:title="@string/power_menu_transparency"
|
|
android:max="100"
|
|
android:min="0"
|
|
settings:unitsLeft=""
|
|
settings:unitsRight="%"
|
|
android:defaultValue="100" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="transparent_power_dialog_dim"
|
|
android:title="@string/power_menu_dialog_dim"
|
|
android:max="100"
|
|
android:min="0"
|
|
settings:unitsLeft=""
|
|
settings:unitsRight="%"
|
|
android:defaultValue="50" />
|
|
</PreferenceCategory>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:icon="@drawable/ic_recovery"
|
|
android:key="advanced_reboot"
|
|
android:title="@string/advanced_reboot_title"
|
|
android:summary="@string/advanced_reboot_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
|
|
android:key="power_menu_emergency_affordance"
|
|
android:icon="@drawable/ic_emergency"
|
|
android:title="@string/power_menu_emergency_title"
|
|
android:defaultValue="true" />
|
|
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/lockscreen_secure_power_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="lockscreen_disable_power_menu"
|
|
android:title="@string/lockscreen_power_menu_disabled_title"
|
|
android:summary="@string/lockscreen_power_menu_disabled_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
|
|
android:key="lockscreen_enable_power_menu"
|
|
android:icon="@drawable/ic_power"
|
|
android:title="@string/lockscreen_enable_power_menu_title"
|
|
android:summary="@string/lockscreen_enable_power_menu_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
|
|
android:key="lockscreen_powermenu_secure"
|
|
android:icon="@drawable/ic_lock_outline"
|
|
android:title="@string/lockscreen_secure_power_menu_title"
|
|
android:summary="@string/lockscreen_secure_power_menu_summary"
|
|
android:dependency="lockscreen_enable_power_menu"
|
|
android:defaultValue="false" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|