| <?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_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" /> |
| </PreferenceCategory> |
| </PreferenceScreen> |