146 lines
6.2 KiB
XML
146 lines
6.2 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/quicksettings_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/qs_category">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_blur"
|
|
android:icon="@drawable/ic_blur"
|
|
android:title="@string/blur_quicksettings"
|
|
android:summary="@string/blur_quicksettings_subtitle"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
|
android:key="qs_blur_intensity"
|
|
android:title="@string/qs_blur_intensity_title"
|
|
android:summary="@string/qs_blur_intensity_summary"
|
|
android:max="100"
|
|
settings:min="1"
|
|
settings:unitsRight="@string/unit_percent"
|
|
android:persistent="false"
|
|
android:dependency="qs_blur" />
|
|
|
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
|
android:key="qs_blur_alpha"
|
|
android:title="@string/qs_blur_alpha_title"
|
|
android:summary="@string/qs_blur_alpha_summary"
|
|
android:max="100"
|
|
settings:min="1"
|
|
settings:unitsRight="@string/unit_percent"
|
|
android:persistent="false"
|
|
android:dependency="qs_blur" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="dismiss_all_button"
|
|
android:icon="@drawable/ic_x"
|
|
android:title="@string/enable_clear_all_button"
|
|
android:summary="@string/enable_clear_all_button_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="settings_spacer"
|
|
android:title="@string/enable_oneui"
|
|
android:summary="@string/enable_oneui_summary"
|
|
android:defaultValue="true" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/qs_title">
|
|
|
|
<ListPreference
|
|
android:key="quick_pulldown"
|
|
android:title="@string/quick_pulldown_title"
|
|
android:entries="@array/quick_pulldown_entries"
|
|
android:entryValues="@array/quick_pulldown_values"
|
|
android:persistent="false" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="status_bar_locked_on_secure_keyguard"
|
|
android:title="@string/lockscreen_qs_disabled_title"
|
|
android:summary="@string/lockscreen_qs_disabled_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_bottom_brightness"
|
|
android:title="@string/qs_brightness_position_bottom_title"
|
|
android:summary="@string/qs_brightness_position_bottom_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_tile_title_visibility"
|
|
android:title="@string/qs_tile_title_visibility_title"
|
|
android:summary="@string/qs_tile_title_visibility_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="quick_settings_vibrate"
|
|
android:title="@string/qs_vibrate_title"
|
|
android:summary="@string/qs_vibrate_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_rows_portrait"
|
|
android:dialogTitle="@string/qs_rows_portrait_title"
|
|
android:title="@string/qs_rows_portrait_title"
|
|
android:summary="%s"
|
|
android:entries="@array/qs_rows_portrait_values"
|
|
android:entryValues="@array/qs_rows_portrait_values"
|
|
android:defaultValue="3" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_rows_landscape"
|
|
android:dialogTitle="@string/qs_rows_landscape_title"
|
|
android:title="@string/qs_rows_landscape_title"
|
|
android:summary="%s"
|
|
android:entries="@array/qs_rows_landscape_values"
|
|
android:entryValues="@array/qs_rows_landscape_values"
|
|
android:defaultValue="1" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_columns_portrait"
|
|
android:dialogTitle="@string/qs_columns_portrait_title"
|
|
android:title="@string/qs_columns_portrait_title"
|
|
android:summary="%s"
|
|
android:entries="@array/qs_columns_portrait_values"
|
|
android:entryValues="@array/qs_columns_portrait_values"
|
|
android:defaultValue="3" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_columns_landscape"
|
|
android:dialogTitle="@string/qs_columns_landscape_title"
|
|
android:title="@string/qs_columns_landscape_title"
|
|
android:summary="%s"
|
|
android:entries="@array/qs_columns_landscape_values"
|
|
android:entryValues="@array/qs_columns_landscape_values"
|
|
android:defaultValue="4" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_battery_mode"
|
|
android:title="@string/battery_percentage_title"
|
|
android:entries="@array/qs_battery_mode_entries"
|
|
android:entryValues="@array/qs_battery_mode_values"
|
|
android:defaultValue="1" />
|
|
|
|
</PreferenceScreen>
|