This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
android_packages_apps_Cherish/res/xml/qs_tile_layout.xml
cjh1249131356 a57d28d4a0 Cherish: Refactor qs tiles layout fragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-24 01:54:37 +07:00

50 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/qs_tile_layout_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_tile_label_hide"
android:title="@string/qs_tile_hide_label_title"
android:summary="@string/qs_tile_hide_label_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="qs_tile_vertical_layout"
android:title="@string/qs_tile_vertical_layout_title"
android:summary="@string/qs_tile_vertical_layout_summary"
android:defaultValue="false" />
<PreferenceCategory
android:key="tiles_layout"
android:title="@string/qs_tiles_layout_category">
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="qs_layout_columns"
android:title="@string/qs_columns_portrait_title"
android:defaultValue="2"
android:max="6"
settings:min="2" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="qs_layout_rows"
android:title="@string/qs_rows_portrait_title"
android:defaultValue="4"
android:max="6"
settings:min="2" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="qqs_layout_rows"
android:title="@string/qqs_rows_portrait_title"
android:defaultValue="2"
android:max="5"
settings:min="1" />
<com.android.settingslib.widget.LayoutPreference
android:key="apply_change_button"
android:layout="@layout/qs_tile_apply_change_button" />
</PreferenceCategory>
</PreferenceScreen>