102 lines
4.0 KiB
XML
102 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2020 CherishOS 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.SystemSettingSeekBarPreference
|
|
android:key="qs_transparency"
|
|
android:title="@string/qs_transparency_title"
|
|
android:summary="@string/qs_transparency_summary"
|
|
android:defaultValue="100"
|
|
settings:interval="1"
|
|
settings:units="%"
|
|
android:max="100"
|
|
android:min="1" />
|
|
|
|
<ListPreference
|
|
android:key="status_bar_quick_qs_pulldown"
|
|
android:title="@string/status_bar_quick_qs_pulldown"
|
|
android:entries="@array/quick_pulldown_entries"
|
|
android:entryValues="@array/quick_pulldown_values"
|
|
android:defaultValue="0" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="quick_settings_brighness_category"
|
|
android:title="@string/qs_show_brightness_slider_title">
|
|
|
|
<com.cherish.settings.preferences.SecureSettingListPreference
|
|
android:key="qs_show_brightness_slider"
|
|
android:title="@string/qs_show_brightness_slider_title"
|
|
android:entries="@array/qs_show_brightness_slider_entries"
|
|
android:entryValues="@array/qs_show_brightness_slider_values"
|
|
android:defaultValue="1" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingListPreference
|
|
android:key="qs_brightness_slider_position"
|
|
android:title="@string/qs_brightness_slider_position_title"
|
|
android:entries="@array/qs_brightness_slider_position_entries"
|
|
android:entryValues="@array/qs_brightness_slider_position_values"
|
|
android:defaultValue="0" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="qs_show_auto_brightness"
|
|
android:title="@string/qs_show_auto_brightness_title"
|
|
android:summary="@string/qs_show_auto_brightness_summary"
|
|
android:defaultValue="true" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="tile_layout_category"
|
|
android:title="@string/qs_tile_layout_category_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_tile_label_hide"
|
|
android:title="@string/qs_tile_title_visibility_title"
|
|
android:summary="@string/qs_tile_title_visibility_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_tile_vertical_layout"
|
|
android:title="@string/qs_tile_layout_title"
|
|
android:summary="@string/qs_tile_layout_summary"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="qs_layout_category"
|
|
android:title="@string/qs_layout_category_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="qs_layout_columns"
|
|
android:title="@string/qs_columns_portrait_title"
|
|
android:max="4"
|
|
settings:min="2"
|
|
settings:interval="1"
|
|
android:defaultValue="2" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|