| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2015 The OmniROM Project |
| |
| This program is free software: you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by |
| the Free Software Foundation, either version 2 of the License, or |
| (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with this program. If not, see <http://www.gnu.org/licenses/>. |
| --> |
| |
| <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> |
| |
| <PreferenceCategory |
| android:key="category_statusbar" |
| android:title="@string/statusbar_title"> |
| |
| <com.android.settings.preference.SystemCheckBoxPreference |
| android:key="status_bar_brightness_control" |
| android:title="@string/status_bar_brightness_control_title" |
| android:summary="@string/status_bar_brightness_control_summary" |
| android:defaultValue="false"/> |
| |
| <!--<PreferenceScreen |
| android:key="statusbar_battery" |
| android:title="@string/battery_title" |
| android:fragment="org.omnirom.omnigears.interfacesettings.StatusbarBatterySettings" />--> |
| |
| </PreferenceCategory> |
| |
| <!-- Network traffic meter --> |
| <PreferenceCategory |
| android:key="category_network_traffic" |
| android:title="@string/network_traffic_title"> |
| |
| <!--<com.android.settings.preference.SystemCheckBoxPreference |
| android:key="status_bar_network_activity" |
| android:title="@string/status_bar_network_activity_title" |
| android:summary="@string/status_bar_network_activity_summary" |
| android:defaultValue="false"/>--> |
| |
| <ListPreference |
| android:key="network_traffic_state" |
| android:title="@string/show_network_traffic_state" |
| android:entries="@array/show_network_traffic_state_entries" |
| android:entryValues="@array/show_network_traffic_state_values" |
| android:persistent="false" /> |
| |
| <ListPreference |
| android:key="network_traffic_unit" |
| android:title="@string/show_network_traffic_unit" |
| android:entries="@array/show_network_traffic_unit_entries" |
| android:entryValues="@array/show_network_traffic_unit_values" |
| android:persistent="false" /> |
| |
| <ListPreference |
| android:key="network_traffic_period" |
| android:title="@string/show_network_traffic_frequency" |
| android:entries="@array/show_network_traffic_frequency_entries" |
| android:entryValues="@array/show_network_traffic_frequency_values" |
| android:persistent="false" /> |
| |
| <com.android.settings.preference.SystemCheckBoxPreference |
| android:key="network_traffic_autohide" |
| android:title="@string/network_traffic_autohide_title" |
| android:summary="@string/network_traffic_autohide_summary" |
| android:defaultValue="false"/> |
| |
| <com.android.settings.preference.SeekBarPreference |
| android:key="network_traffic_autohide_threshold" |
| android:title="@string/network_traffic_autohide_threshold" |
| android:max="100" |
| settings:min="0" |
| settings:unitsLeft="" |
| settings:unitsRight="kB/s" |
| android:dependency="network_traffic_autohide" |
| android:persistent="false" /> |
| |
| </PreferenceCategory> |
| |
| <PreferenceCategory |
| android:key="notification_category" |
| android:title="@string/notification_title" > |
| |
| <com.android.settings.preference.SystemCheckBoxPreference |
| android:key="status_bar_custom_header" |
| android:title="@string/status_bar_custom_header_title" |
| android:summary="@string/status_bar_custom_header_summary" |
| android:defaultValue="false"/> |
| </PreferenceCategory> |
| |
| <!--<PreferenceCategory |
| android:key="navbar_category" |
| android:title="@string/navbar_title" > |
| |
| <ListPreference |
| android:key="navbar_recents_style" |
| android:title="@string/navbar_recents_style_title" |
| android:entries="@array/navbar_recents_style_entries" |
| android:entryValues="@array/navbar_recents_style_values" |
| android:persistent="false"/> |
| </PreferenceCategory>--> |
| |
| </PreferenceScreen> |