[3/3] OmniGears: battery styles
Change-Id: I4388930b9e5713df6418d425e5759675f97ae0af
diff --git a/res/xml/bars_settings.xml b/res/xml/bars_settings.xml
new file mode 100644
index 0000000..99b7b28
--- /dev/null
+++ b/res/xml/bars_settings.xml
@@ -0,0 +1,40 @@
+<?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="battery_category"
+ android:title="@string/battery_title" >
+
+ <ListPreference
+ android:key="statusbar_battery_style"
+ android:title="@string/battery_style_title"
+ android:entries="@*android:array/entries_battery_styles"
+ android:entryValues="@*android:array/values_battery_styles"
+ android:persistent="false"/>
+ <ListPreference
+ android:key="statusbar_battery_percent"
+ android:title="@string/battery_percent_title"
+ android:entries="@array/entries_battery_percent"
+ android:entryValues="@array/values_battery_percent"
+ android:persistent="false"/>
+
+ </PreferenceCategory>
+
+</PreferenceScreen>