maxwen | 70e478f | 2015-04-20 01:26:36 +0200 | [diff] [blame] | 1 | <?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 |
maxwen | 7b0889d | 2015-10-03 01:21:09 +0200 | [diff] [blame] | 22 | android:key="category_statusbar" |
| 23 | android:title="@string/statusbar_title"> |
maxwen | 70e478f | 2015-04-20 01:26:36 +0200 | [diff] [blame] | 24 | |
maxwen | 7b0889d | 2015-10-03 01:21:09 +0200 | [diff] [blame] | 25 | <com.android.settings.preference.SystemCheckBoxPreference |
| 26 | android:key="status_bar_brightness_control" |
| 27 | android:title="@string/status_bar_brightness_control_title" |
| 28 | android:summary="@string/status_bar_brightness_control_summary" |
| 29 | android:defaultValue="false"/> |
| 30 | |
maxwen | cd13d5a | 2015-10-25 16:45:14 +0100 | [diff] [blame^] | 31 | <!--<PreferenceScreen |
maxwen | 7b0889d | 2015-10-03 01:21:09 +0200 | [diff] [blame] | 32 | android:key="statusbar_battery" |
| 33 | android:title="@string/battery_title" |
maxwen | cd13d5a | 2015-10-25 16:45:14 +0100 | [diff] [blame^] | 34 | android:fragment="org.omnirom.omnigears.interfacesettings.StatusbarBatterySettings" />--> |
maxwen | 7b0889d | 2015-10-03 01:21:09 +0200 | [diff] [blame] | 35 | |
maxwen | a2af557 | 2015-07-04 00:36:51 +0200 | [diff] [blame] | 36 | </PreferenceCategory> |
maxwen | 70e478f | 2015-04-20 01:26:36 +0200 | [diff] [blame] | 37 | |
maxwen | 03a3651 | 2015-09-25 23:35:44 +0200 | [diff] [blame] | 38 | <!-- Network traffic meter --> |
| 39 | <PreferenceCategory |
| 40 | android:key="category_network_traffic" |
| 41 | android:title="@string/network_traffic_title"> |
| 42 | |
maxwen | cd13d5a | 2015-10-25 16:45:14 +0100 | [diff] [blame^] | 43 | <!--<com.android.settings.preference.SystemCheckBoxPreference |
maxwen | 416c0cc | 2015-09-26 22:42:29 +0200 | [diff] [blame] | 44 | android:key="status_bar_network_activity" |
| 45 | android:title="@string/status_bar_network_activity_title" |
| 46 | android:summary="@string/status_bar_network_activity_summary" |
maxwen | cd13d5a | 2015-10-25 16:45:14 +0100 | [diff] [blame^] | 47 | android:defaultValue="false"/>--> |
maxwen | 416c0cc | 2015-09-26 22:42:29 +0200 | [diff] [blame] | 48 | |
maxwen | 03a3651 | 2015-09-25 23:35:44 +0200 | [diff] [blame] | 49 | <ListPreference |
| 50 | android:key="network_traffic_state" |
| 51 | android:title="@string/show_network_traffic_state" |
| 52 | android:entries="@array/show_network_traffic_state_entries" |
| 53 | android:entryValues="@array/show_network_traffic_state_values" |
| 54 | android:persistent="false" /> |
| 55 | |
| 56 | <ListPreference |
| 57 | android:key="network_traffic_unit" |
| 58 | android:title="@string/show_network_traffic_unit" |
| 59 | android:entries="@array/show_network_traffic_unit_entries" |
| 60 | android:entryValues="@array/show_network_traffic_unit_values" |
| 61 | android:persistent="false" /> |
| 62 | |
| 63 | <ListPreference |
| 64 | android:key="network_traffic_period" |
| 65 | android:title="@string/show_network_traffic_frequency" |
| 66 | android:entries="@array/show_network_traffic_frequency_entries" |
| 67 | android:entryValues="@array/show_network_traffic_frequency_values" |
| 68 | android:persistent="false" /> |
| 69 | |
| 70 | <com.android.settings.preference.SystemCheckBoxPreference |
| 71 | android:key="network_traffic_autohide" |
| 72 | android:title="@string/network_traffic_autohide_title" |
| 73 | android:summary="@string/network_traffic_autohide_summary" |
| 74 | android:defaultValue="false"/> |
| 75 | |
| 76 | <com.android.settings.preference.SeekBarPreference |
| 77 | android:key="network_traffic_autohide_threshold" |
| 78 | android:title="@string/network_traffic_autohide_threshold" |
| 79 | android:max="100" |
| 80 | settings:min="0" |
| 81 | settings:unitsLeft="" |
| 82 | settings:unitsRight="kB/s" |
| 83 | android:dependency="network_traffic_autohide" |
| 84 | android:persistent="false" /> |
| 85 | |
| 86 | </PreferenceCategory> |
| 87 | |
maxwen | a2af557 | 2015-07-04 00:36:51 +0200 | [diff] [blame] | 88 | <PreferenceCategory |
maxwen | 9ede99c | 2015-08-17 00:49:29 +0200 | [diff] [blame] | 89 | android:key="notification_category" |
| 90 | android:title="@string/notification_title" > |
| 91 | |
| 92 | <com.android.settings.preference.SystemCheckBoxPreference |
| 93 | android:key="status_bar_custom_header" |
| 94 | android:title="@string/status_bar_custom_header_title" |
| 95 | android:summary="@string/status_bar_custom_header_summary" |
| 96 | android:defaultValue="false"/> |
| 97 | </PreferenceCategory> |
| 98 | |
| 99 | <PreferenceCategory |
maxwen | a2af557 | 2015-07-04 00:36:51 +0200 | [diff] [blame] | 100 | android:key="navbar_category" |
| 101 | android:title="@string/navbar_title" > |
| 102 | |
| 103 | <ListPreference |
| 104 | android:key="navbar_recents_style" |
| 105 | android:title="@string/navbar_recents_style_title" |
| 106 | android:entries="@array/navbar_recents_style_entries" |
| 107 | android:entryValues="@array/navbar_recents_style_values" |
| 108 | android:persistent="false"/> |
maxwen | 70e478f | 2015-04-20 01:26:36 +0200 | [diff] [blame] | 109 | </PreferenceCategory> |
| 110 | |
| 111 | </PreferenceScreen> |