100 lines
4.5 KiB
XML
100 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 Nitrogen 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">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_panel_bg_use_new_tint"
|
|
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="dismiss_all_button"
|
|
android:icon="@drawable/ic_x"
|
|
android:title="@string/enable_clear_all_button"
|
|
android:summary="@string/enable_clear_all_button_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/qs_title">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="brightness_slider_qs_unexpanded"
|
|
android:title="@string/brightness_slider_qs_unexpanded"
|
|
android:summary="@string/brightness_slider_qs_unexpanded_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_bottom_brightness"
|
|
android:title="@string/qs_brightness_position_bottom_title"
|
|
android:summary="@string/qs_brightness_position_bottom_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="qs_tile_title_visibility"
|
|
android:title="@string/qs_tile_title_visibility_title"
|
|
android:summary="@string/qs_tile_title_visibility_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="quick_settings_vibrate"
|
|
android:title="@string/qs_vibrate_title"
|
|
android:summary="@string/qs_vibrate_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_rows_portrait"
|
|
android:dialogTitle="@string/qs_rows_portrait_title"
|
|
android:title="@string/qs_rows_portrait_title"
|
|
android:summary="%s"
|
|
android:entries="@array/qs_rows_portrait_values"
|
|
android:entryValues="@array/qs_rows_portrait_values"
|
|
android:defaultValue="3" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_rows_landscape"
|
|
android:dialogTitle="@string/qs_rows_landscape_title"
|
|
android:title="@string/qs_rows_landscape_title"
|
|
android:summary="%s"
|
|
android:entries="@array/qs_rows_landscape_values"
|
|
android:entryValues="@array/qs_rows_landscape_values"
|
|
android:defaultValue="1" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_columns_portrait"
|
|
android:dialogTitle="@string/qs_columns_portrait_title"
|
|
android:title="@string/qs_columns_portrait_title"
|
|
android:summary="%s"
|
|
android:entries="@array/qs_columns_portrait_values"
|
|
android:entryValues="@array/qs_columns_portrait_values"
|
|
android:defaultValue="3" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
|
android:key="qs_columns_landscape"
|
|
android:dialogTitle="@string/qs_columns_landscape_title"
|
|
android:title="@string/qs_columns_landscape_title"
|
|
android:summary="%s"
|
|
android:entries="@array/qs_columns_landscape_values"
|
|
android:entryValues="@array/qs_columns_landscape_values"
|
|
android:defaultValue="4" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|