blob: 93c82dd44998cb0a3183f38da29ab934e36c04b3 [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
Lars Greiss200b58f2018-09-21 08:00:35 -060023 <PreferenceCategory
24 android:title="@string/status_bar_clock_title">
Juan Ezquerro LLanesd07de332018-08-28 08:48:25 +020025
Lars Greiss200b58f2018-09-21 08:00:35 -060026 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
27 android:key="status_bar_clock"
28 android:title="@string/status_bar_clock_show"
29 android:defaultValue="true" />
30
31 <ListPreference
32 android:key="statusbar_clock_style"
33 android:title="@string/status_bar_clock_style_title"
34 android:dialogTitle="@string/status_bar_clock_style_title"
35 android:entries="@array/status_bar_clock_style_entries"
36 android:entryValues="@array/status_bar_clock_style_values"
37 android:dependency="status_bar_clock" />
38
39 <ListPreference
40 android:key="status_bar_am_pm"
41 android:title="@string/status_bar_am_pm_title"
42 android:dialogTitle="@string/status_bar_am_pm_title"
43 android:entries="@array/status_bar_am_pm_entries"
44 android:entryValues="@array/status_bar_am_pm_values"
45 android:dependency="status_bar_clock" />
46
47 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
48 android:key="status_bar_clock_seconds"
49 android:title="@string/clock_seconds_display"
50 android:dependency="status_bar_clock"
51 android:defaultValue="false" />
52
53 <ListPreference
54 android:key="clock_date_display"
55 android:title="@string/clock_date_display"
56 android:summary="@string/clock_date_display_summary"
57 android:entries="@array/clock_date_display_entries"
58 android:entryValues="@array/clock_date_display_values"
59 android:dependency="status_bar_clock" />
60
61 <ListPreference
62 android:key="clock_date_style"
63 android:title="@string/clock_date_style"
64 android:entries="@array/clock_date_style_entries"
65 android:entryValues="@array/clock_date_style_values"
66 android:dependency="clock_date_display" />
67
68 <ListPreference
69 android:key="clock_date_format"
70 android:title="@string/clock_date_format"
71 android:entries="@array/clock_date_format_entries_values"
72 android:entryValues="@array/clock_date_format_entries_values"
73 android:dependency="clock_date_display" />
74
Juan Ezquerro LLanesd07de332018-08-28 08:48:25 +020075 </PreferenceCategory>
76
tsubus6ba3db62018-09-17 18:33:21 -060077 <PreferenceCategory
78 android:key="battery_settings"
xyyx12cbc6c2018-09-17 18:38:12 -060079 android:title="@string/battery_style_category">
tsubus6ba3db62018-09-17 18:33:21 -060080 <ListPreference
81 android:key="status_bar_battery_style"
82 android:title="@string/battery_style_title"
83 android:summary="%s"
84 android:dialogTitle="@string/battery_style_title"
85 android:entries="@array/status_bar_battery_style_entries"
86 android:entryValues="@array/status_bar_battery_style_values"
87 android:defaultValue="0" />
xyyx12cbc6c2018-09-17 18:38:12 -060088
89 <ListPreference
90 android:key="show_battery_percent"
91 android:title="@string/show_battery_percent_title"
92 android:entries="@array/battery_percent_entries"
93 android:entryValues="@array/battery_percent_values" />
94
tsubus6ba3db62018-09-17 18:33:21 -060095 </PreferenceCategory>
96
Juan Ezquerro LLanesd07de332018-08-28 08:48:25 +020097 <PreferenceCategory
Lars Greiss200b58f2018-09-21 08:00:35 -060098 android:key="quick_settings_category"
99 android:title="@string/quick_settings_category">
100
101 <org.omnirom.omnilib.preference.SeekBarPreference
102 android:key="qs_panel_alpha"
103 android:title="@string/qs_panel_alpha_title"
104 android:summary="@string/qs_panel_alpha_summary"
105 android:max="100"
106 settings:min="0"
107 settings:unitsRight="@string/unit_percent"
108 android:persistent="false" />
109 </PreferenceCategory>
110
111 <PreferenceCategory
Vachounet081cc5d2018-09-13 20:00:42 +0200112 android:key="statusbar_settings_category"
113 android:title="@string/statusbar_settings_category">
114
115 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
116 android:key="use_old_mobiletype"
117 android:title="@string/use_old_mobiletype_title"
118 android:summary="@string/use_old_mobiletype_summary"
119 android:defaultValue="false" />
120 </PreferenceCategory>
121
122 <PreferenceCategory
maxwenc7914de2018-08-27 21:34:47 +0200123 android:key="aspect_ratio_category"
124 android:title="@string/aspect_ratio_category_title">
125
126 <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
127 android:key="aspect_ratio_apps_enabled"
128 android:title="@string/aspect_ratio_apps_enabled_title"
129 android:summary="@string/aspect_ratio_apps_enabled_summary"
130 android:defaultValue="false" />
131
132 <org.omnirom.omnilib.preference.AppMultiSelectListPreference
133 android:dependency="aspect_ratio_apps_enabled"
134 android:key="aspect_ratio_apps_list"
135 android:persistent="false"
136 android:summary="@string/aspect_ratio_apps_list_summary"
137 android:title="@string/aspect_ratio_apps_list_title" />
138
139 <org.omnirom.omnilib.preference.ScrollAppsViewPreference
140 android:dependency="aspect_ratio_apps_enabled"
141 android:key="aspect_ratio_apps_list_scroller"
142 android:persistent="false"
143 android:selectable="false" />
144
145 <Preference
146 android:dependency="aspect_ratio_apps_enabled"
147 android:icon="@drawable/ic_info_outline_24dp"
148 android:persistent="false"
149 android:summary="@string/aspect_ratio_apps_info" />
150 </PreferenceCategory>
151</PreferenceScreen>