blob: f9f38a43a6243b1a15beccfae2e4bbcaa5cdd169 [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
21 <PreferenceCategory
22 android:key="battery_category"
23 android:title="@string/battery_title" >
24
25 <ListPreference
26 android:key="statusbar_battery_style"
27 android:title="@string/battery_style_title"
28 android:entries="@*android:array/entries_battery_styles"
29 android:entryValues="@*android:array/values_battery_styles"
30 android:persistent="false"/>
31 <ListPreference
32 android:key="statusbar_battery_percent"
33 android:title="@string/battery_percent_title"
34 android:entries="@array/entries_battery_percent"
35 android:entryValues="@array/values_battery_percent"
36 android:persistent="false"/>
maxwena2af5572015-07-04 00:36:51 +020037 </PreferenceCategory>
maxwen70e478f2015-04-20 01:26:36 +020038
maxwen03a36512015-09-25 23:35:44 +020039 <!-- Network traffic meter -->
40 <PreferenceCategory
41 android:key="category_network_traffic"
42 android:title="@string/network_traffic_title">
43
44 <ListPreference
45 android:key="network_traffic_state"
46 android:title="@string/show_network_traffic_state"
47 android:entries="@array/show_network_traffic_state_entries"
48 android:entryValues="@array/show_network_traffic_state_values"
49 android:persistent="false" />
50
51 <ListPreference
52 android:key="network_traffic_unit"
53 android:title="@string/show_network_traffic_unit"
54 android:entries="@array/show_network_traffic_unit_entries"
55 android:entryValues="@array/show_network_traffic_unit_values"
56 android:persistent="false" />
57
58 <ListPreference
59 android:key="network_traffic_period"
60 android:title="@string/show_network_traffic_frequency"
61 android:entries="@array/show_network_traffic_frequency_entries"
62 android:entryValues="@array/show_network_traffic_frequency_values"
63 android:persistent="false" />
64
65 <com.android.settings.preference.SystemCheckBoxPreference
66 android:key="network_traffic_autohide"
67 android:title="@string/network_traffic_autohide_title"
68 android:summary="@string/network_traffic_autohide_summary"
69 android:defaultValue="false"/>
70
71 <com.android.settings.preference.SeekBarPreference
72 android:key="network_traffic_autohide_threshold"
73 android:title="@string/network_traffic_autohide_threshold"
74 android:max="100"
75 settings:min="0"
76 settings:unitsLeft=""
77 settings:unitsRight="kB/s"
78 android:dependency="network_traffic_autohide"
79 android:persistent="false" />
80
81 </PreferenceCategory>
82
maxwena2af5572015-07-04 00:36:51 +020083 <PreferenceCategory
maxwen9ede99c2015-08-17 00:49:29 +020084 android:key="notification_category"
85 android:title="@string/notification_title" >
86
87 <com.android.settings.preference.SystemCheckBoxPreference
88 android:key="status_bar_custom_header"
89 android:title="@string/status_bar_custom_header_title"
90 android:summary="@string/status_bar_custom_header_summary"
91 android:defaultValue="false"/>
92 </PreferenceCategory>
93
94 <PreferenceCategory
maxwena2af5572015-07-04 00:36:51 +020095 android:key="navbar_category"
96 android:title="@string/navbar_title" >
97
98 <ListPreference
99 android:key="navbar_recents_style"
100 android:title="@string/navbar_recents_style_title"
101 android:entries="@array/navbar_recents_style_entries"
102 android:entryValues="@array/navbar_recents_style_values"
103 android:persistent="false"/>
maxwen70e478f2015-04-20 01:26:36 +0200104 </PreferenceCategory>
105
106</PreferenceScreen>