blob: c37cc2264fa0cefe5bff2e59cea409b7a535eb0f [file] [log] [blame]
maxwen70e478f2015-04-20 01:26:36 +02001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The OmniROM Project
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 -->
17
18<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
20
maxwencff94382015-09-26 01:27:14 +020021 <com.android.settings.preference.SystemCheckBoxPreference
22 android:key="status_bar_brightness_control"
23 android:title="@string/status_bar_brightness_control_title"
24 android:summary="@string/status_bar_brightness_control_summary"
25 android:defaultValue="false"/>
26
maxwen70e478f2015-04-20 01:26:36 +020027 <PreferenceCategory
28 android:key="battery_category"
29 android:title="@string/battery_title" >
30
31 <ListPreference
32 android:key="statusbar_battery_style"
33 android:title="@string/battery_style_title"
34 android:entries="@*android:array/entries_battery_styles"
35 android:entryValues="@*android:array/values_battery_styles"
36 android:persistent="false"/>
37 <ListPreference
38 android:key="statusbar_battery_percent"
39 android:title="@string/battery_percent_title"
40 android:entries="@array/entries_battery_percent"
41 android:entryValues="@array/values_battery_percent"
42 android:persistent="false"/>
maxwena2af5572015-07-04 00:36:51 +020043 </PreferenceCategory>
maxwen70e478f2015-04-20 01:26:36 +020044
maxwen03a36512015-09-25 23:35:44 +020045 <!-- Network traffic meter -->
46 <PreferenceCategory
47 android:key="category_network_traffic"
48 android:title="@string/network_traffic_title">
49
50 <ListPreference
51 android:key="network_traffic_state"
52 android:title="@string/show_network_traffic_state"
53 android:entries="@array/show_network_traffic_state_entries"
54 android:entryValues="@array/show_network_traffic_state_values"
55 android:persistent="false" />
56
57 <ListPreference
58 android:key="network_traffic_unit"
59 android:title="@string/show_network_traffic_unit"
60 android:entries="@array/show_network_traffic_unit_entries"
61 android:entryValues="@array/show_network_traffic_unit_values"
62 android:persistent="false" />
63
64 <ListPreference
65 android:key="network_traffic_period"
66 android:title="@string/show_network_traffic_frequency"
67 android:entries="@array/show_network_traffic_frequency_entries"
68 android:entryValues="@array/show_network_traffic_frequency_values"
69 android:persistent="false" />
70
71 <com.android.settings.preference.SystemCheckBoxPreference
72 android:key="network_traffic_autohide"
73 android:title="@string/network_traffic_autohide_title"
74 android:summary="@string/network_traffic_autohide_summary"
75 android:defaultValue="false"/>
76
77 <com.android.settings.preference.SeekBarPreference
78 android:key="network_traffic_autohide_threshold"
79 android:title="@string/network_traffic_autohide_threshold"
80 android:max="100"
81 settings:min="0"
82 settings:unitsLeft=""
83 settings:unitsRight="kB/s"
84 android:dependency="network_traffic_autohide"
85 android:persistent="false" />
86
87 </PreferenceCategory>
88
maxwena2af5572015-07-04 00:36:51 +020089 <PreferenceCategory
maxwen9ede99c2015-08-17 00:49:29 +020090 android:key="notification_category"
91 android:title="@string/notification_title" >
92
93 <com.android.settings.preference.SystemCheckBoxPreference
94 android:key="status_bar_custom_header"
95 android:title="@string/status_bar_custom_header_title"
96 android:summary="@string/status_bar_custom_header_summary"
97 android:defaultValue="false"/>
98 </PreferenceCategory>
99
100 <PreferenceCategory
maxwena2af5572015-07-04 00:36:51 +0200101 android:key="navbar_category"
102 android:title="@string/navbar_title" >
103
104 <ListPreference
105 android:key="navbar_recents_style"
106 android:title="@string/navbar_recents_style_title"
107 android:entries="@array/navbar_recents_style_entries"
108 android:entryValues="@array/navbar_recents_style_values"
109 android:persistent="false"/>
maxwen70e478f2015-04-20 01:26:36 +0200110 </PreferenceCategory>
111
112</PreferenceScreen>