| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2023 The LeafOS 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-auto" |
| android:key="qs_panel_options" |
| android:title="@string/qs_panel_options_title"> |
| |
| <PreferenceCategory |
| android:title="@string/category_name_qs_brightness_slider"> |
| |
| <com.android.settings.support.SecureSettingListPreference |
| android:key="qs_show_brightness_slider" |
| android:title="@string/qs_brightness_slider_title" |
| android:entries="@array/qs_brightness_slider_entries" |
| android:entryValues="@array/qs_brightness_slider_values" |
| android:defaultValue="1" /> |
| |
| <com.android.settings.support.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.android.settings.support.SecureSettingListPreference |
| android:key="brightness_slider_style" |
| android:title="@string/brightness_slider_style_title" |
| android:entries="@array/brightness_slider_style_entries" |
| android:entryValues="@array/brightness_slider_style_values" |
| android:defaultValue="0" /> |
| |
| <com.android.settings.support.SecureSettingSwitchPreference |
| android:key="qs_show_auto_brightness" |
| android:title="@string/qs_auto_brightness_title" |
| android:summary="@string/qs_auto_brightness_summary" |
| android:defaultValue="true" /> |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:title="@string/category_name_qs_tiles"> |
| |
| <com.android.settings.support.SecureSettingListPreference |
| android:key="qs_style_round" |
| android:title="@string/qs_style_title" |
| android:entries="@array/qs_style_entries" |
| android:entryValues="@array/qs_style_values" |
| android:defaultValue="1" /> |
| |
| <com.android.settings.support.SecureSettingListPreference |
| android:key="qs_tile_shape" |
| android:title="@string/qs_tile_shape" |
| android:entries="@array/qs_tile_shape_entries" |
| android:entryValues="@array/qs_tile_shape_values" |
| android:defaultValue="2" /> |
| |
| <com.android.settings.support.SecureSettingSeekBarPreference |
| android:key="qqs_num_columns" |
| android:title="@string/qqs_columns" |
| android:min="@string/qqs_columns_min" |
| android:max="@string/qqs_columns_max" |
| android:defaultValue="5" |
| settings:textStart="@string/qqs_columns_min" |
| settings:textEnd="@string/qqs_columns_max" /> |
| |
| <com.android.settings.support.SecureSettingSeekBarPreference |
| android:key="qqs_num_columns_landscape" |
| android:title="@string/qqs_columns_landscape" |
| android:min="@string/qqs_columns_landscape_min" |
| android:max="@string/qqs_columns_landscape_max" |
| android:defaultValue="6" |
| settings:textStart="@string/qqs_columns_landscape_min" |
| settings:textEnd="@string/qqs_columns_landscape_max" /> |
| |
| <com.android.settings.support.SecureSettingSeekBarPreference |
| android:key="qs_num_columns" |
| android:title="@string/qs_columns" |
| android:min="@string/qs_columns_min" |
| android:max="@string/qs_columns_max" |
| android:defaultValue="4" |
| settings:textStart="@string/qs_columns_min" |
| settings:textEnd="@string/qs_columns_max" /> |
| |
| <com.android.settings.support.SecureSettingSeekBarPreference |
| android:key="qs_num_columns_landscape" |
| android:title="@string/qs_columns_landscape" |
| android:min="@string/qs_columns_landscape_min" |
| android:max="@string/qs_columns_landscape_max" |
| android:defaultValue="6" |
| settings:textStart="@string/qs_columns_landscape_min" |
| settings:textEnd="@string/qs_columns_landscape_max" /> |
| </PreferenceCategory> |
| </PreferenceScreen> |