blob: 32d0cdeb13bfaec7bef160096b1bc6862081384d [file] [log] [blame]
maxwenc7914de2018-08-27 21:34:47 +02001<?xml version="1.0" encoding="utf-8"?>
2
3<!-- Copyright (C) 2017-2018 The OmniROM Project
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17-->
18<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:settings="http://schemas.android.com/apk/res-auto"
20 android:key="bars_settings"
21 android:title="@string/custom_bars_settings_title" >
22
23 <PreferenceCategory
Juan Ezquerro LLanesd07de332018-08-28 08:48:25 +020024 android:key="quick_settings_category"
25 android:title="@string/quick_settings_category">
26
27 <org.omnirom.omnilib.preference.SeekBarPreference
28 android:key="qs_panel_alpha"
29 android:title="@string/qs_panel_alpha_title"
30 android:summary="@string/qs_panel_alpha_summary"
31 android:max="100"
32 settings:min="0"
33 settings:unitsRight="@string/unit_percent"
34 android:persistent="false" />
35 </PreferenceCategory>
36
tsubus6ba3db62018-09-17 18:33:21 -060037 <PreferenceCategory
38 android:key="battery_settings"
xyyx12cbc6c2018-09-17 18:38:12 -060039 android:title="@string/battery_style_category">
tsubus6ba3db62018-09-17 18:33:21 -060040 <ListPreference
41 android:key="status_bar_battery_style"
42 android:title="@string/battery_style_title"
43 android:summary="%s"
44 android:dialogTitle="@string/battery_style_title"
45 android:entries="@array/status_bar_battery_style_entries"
46 android:entryValues="@array/status_bar_battery_style_values"
47 android:defaultValue="0" />
xyyx12cbc6c2018-09-17 18:38:12 -060048
49 <ListPreference
50 android:key="show_battery_percent"
51 android:title="@string/show_battery_percent_title"
52 android:entries="@array/battery_percent_entries"
53 android:entryValues="@array/battery_percent_values" />
54
tsubus6ba3db62018-09-17 18:33:21 -060055 </PreferenceCategory>
56
Juan Ezquerro LLanesd07de332018-08-28 08:48:25 +020057 <PreferenceCategory
Vachounet081cc5d2018-09-13 20:00:42 +020058 android:key="statusbar_settings_category"
59 android:title="@string/statusbar_settings_category">
60
61 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
62 android:key="use_old_mobiletype"
63 android:title="@string/use_old_mobiletype_title"
64 android:summary="@string/use_old_mobiletype_summary"
65 android:defaultValue="false" />
66 </PreferenceCategory>
67
68 <PreferenceCategory
maxwenc7914de2018-08-27 21:34:47 +020069 android:key="aspect_ratio_category"
70 android:title="@string/aspect_ratio_category_title">
71
72 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
73 android:key="aspect_ratio_apps_enabled"
74 android:title="@string/aspect_ratio_apps_enabled_title"
75 android:summary="@string/aspect_ratio_apps_enabled_summary"
76 android:defaultValue="false" />
77
78 <org.omnirom.omnilib.preference.AppMultiSelectListPreference
79 android:dependency="aspect_ratio_apps_enabled"
80 android:key="aspect_ratio_apps_list"
81 android:persistent="false"
82 android:summary="@string/aspect_ratio_apps_list_summary"
83 android:title="@string/aspect_ratio_apps_list_title" />
84
85 <org.omnirom.omnilib.preference.ScrollAppsViewPreference
86 android:dependency="aspect_ratio_apps_enabled"
87 android:key="aspect_ratio_apps_list_scroller"
88 android:persistent="false"
89 android:selectable="false" />
90
91 <Preference
92 android:dependency="aspect_ratio_apps_enabled"
93 android:icon="@drawable/ic_info_outline_24dp"
94 android:persistent="false"
95 android:summary="@string/aspect_ratio_apps_info" />
96 </PreferenceCategory>
97</PreferenceScreen>