108 lines
4.6 KiB
XML
108 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">
|
|
<<<<<<< HEAD
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/qs_category">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_panel_bg_use_new_tint"
|
|
android:icon="@drawable/ic_color"
|
|
android:title="@string/qs_bg_use_new_tint"
|
|
android:summary="@string/qs_bg_use_new_tint_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="settings_spacer"
|
|
android:icon="@drawable/ic_settings"
|
|
android:title="@string/enable_oneui"
|
|
android:summary="@string/enable_oneui_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
|
|
android:key="status_bar_custom_header"
|
|
android:icon="@drawable/ic_header"
|
|
android:fragment="com.cherish.settings.fragments.QsHeader"
|
|
android:title="@string/status_bar_custom_header_title"
|
|
android:summary="@string/status_bar_custom_header_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="omni_footer_text_show"
|
|
android:icon="@drawable/ic_edit_show"
|
|
android:title="@string/qs_footer_text_title"
|
|
android:summary="@string/qs_footer_text_summary"
|
|
android:defaultValue="false"/>
|
|
|
|
<!-- QS footer text string -->
|
|
<com.cherish.settings.preferences.SystemSettingEditTextPreference
|
|
android:key="footer_text_string"
|
|
android:icon="@drawable/ic_edit"
|
|
android:title="@string/qs_footer_text_string_title"
|
|
android:summary="@string/qs_footer_text_string_summary"
|
|
android:dependency="omni_footer_text_show"
|
|
android:defaultValue="#KeeptheLove" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_datausage"
|
|
android:icon="@drawable/ic_data"
|
|
android:title="@string/qs_datausage_title"
|
|
android:entries="@array/qs_datausage_entries"
|
|
android:entryValues="@array/qs_datausage_values"
|
|
android:defaultValue="0" />
|
|
|
|
<!-- QS brightness slider -->
|
|
<com.cherish.settings.preferences.SystemSettingMasterSwitchPreference
|
|
android:key="qs_show_brightness"
|
|
android:icon="@drawable/ic_brightness"
|
|
android:title="@string/qs_show_brightness_title"
|
|
android:summary="@string/qs_show_brightness_summary"
|
|
android:fragment="com.cherish.settings.fragments.BrightnessSliderSettings"
|
|
android:defaultValue="true" />
|
|
=======
|
|
>>>>>>> parent of 31e425c4 (Cherish:Add pref for qs brightness slider position [2/2])
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="status_bar_brightness_control"
|
|
android:icon="@drawable/ic_brightness"
|
|
android:title="@string/status_bar_toggle_brightness"
|
|
android:summary="@string/status_bar_toggle_brightness_summary"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
|
android:key="quick_settings_vibrate"
|
|
android:icon="@drawable/ic_vibrate"
|
|
android:title="@string/quick_settings_vibrate_title"
|
|
android:summary="@string/quick_settings_vibrate_summary"
|
|
android:defaultValue="false"/>
|
|
|
|
<!-- Battery mode -->
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_battery_mode"
|
|
android:icon="@drawable/ic_battery_percent"
|
|
android:title="@string/battery_percentage_title"
|
|
android:entries="@array/qs_battery_mode_entries"
|
|
android:entryValues="@array/qs_battery_mode_values"
|
|
android:defaultValue="1" />
|
|
|
|
</PreferenceScreen>
|