Change-Id: I6578f196822ac712a6299f6eb56c21652c84aaf3 Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
102 lines
3.9 KiB
XML
102 lines
3.9 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:title="@string/qs_footer_category">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_footer_data_usage"
|
|
android:title="@string/qs_footer_datausage_title"
|
|
android:summary="@string/qs_footer_datausage_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_header_image"
|
|
android:title="@string/qs_header_image_title"
|
|
android:defaultValue="0"
|
|
settings:interval="1"
|
|
android:max="74"
|
|
android:min="0" />
|
|
|
|
<Preference
|
|
android:key="qs_tile_layout"
|
|
android:icon="@drawable/ic_qs_tile"
|
|
android:title="@string/qs_tile_layout_title"
|
|
android:summary="@string/qs_tile_layout_summary"
|
|
android:fragment="com.cherish.settings.fragments.QsTileLayoutSettings" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|