109 lines
4.6 KiB
XML
109 lines
4.6 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_title">
|
|
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="qs_transparency"
|
|
android:title="@string/qs_transparency_title"
|
|
android:summary="@string/qs_transparency_summary"
|
|
android:defaultValue="10"
|
|
settings:interval="1"
|
|
android:max="10"
|
|
android:min="1" />
|
|
|
|
|
|
<!-- QS date -->
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="show_qs_date"
|
|
android:title="@string/qs_date_title"
|
|
android:summary="@string/qs_date_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<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" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_show_battery_estimate"
|
|
android:title="@string/qs_show_battery_estimate_title"
|
|
android:summary="@string/qs_show_battery_estimate_summary"
|
|
android:defaultValue="true"/>
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="enable_camera_privacy_indicator"
|
|
android:title="@string/mic_camera_privacy_indicator_title"
|
|
android:summary="@string/mic_camera_privacy_indicator_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="enable_location_privacy_indicator"
|
|
android:title="@string/location_privacy_indicator_title"
|
|
android:summary="@string/location_privacy_indicator_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="quick_settings_vibrate"
|
|
android:title="@string/quick_settings_vibrate_title"
|
|
android:summary="@string/quick_settings_vibrate_summary"
|
|
android:defaultValue="false"/>
|
|
|
|
<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_brightness_slider_category">
|
|
|
|
<!-- Brightness slider -->
|
|
<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>
|
|
|
|
</PreferenceScreen>
|