gello: support disabling colored statubar
Change-Id: I9e7ab50c87d7a4fd86250f84224f7323b49724f7
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Conflicts:
res/values/strings.xml
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 4228de5..90b8962 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -501,6 +501,8 @@
-->
<item>@string/pref_disable_edge_swipe</item>
</string-array>
+ <string name="pref_coloredsb_title">Colored statusbar</string>
+ <string name="pref_coloredsb_summary">Statusbar will change color basing on the visited page</string>
<!-- Title for accessibility settings [CHAR LIMIT=25] -->
<string name="pref_accessibility_title">Accessibility</string>
<string name="pref_accessibility_title_summary">Text size and zooming</string>
diff --git a/res/xml/general_preferences.xml b/res/xml/general_preferences.xml
index 6d7e5b4..74e24d3 100644
--- a/res/xml/general_preferences.xml
+++ b/res/xml/general_preferences.xml
@@ -74,6 +74,13 @@
<SwitchPreference
android:layout="@layout/swe_preference"
android:defaultValue="false"
+ android:key="coloredsb_enabled"
+ android:summary="@string/pref_coloredsb_summary"
+ android:title="@string/pref_coloredsb_title" />
+
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
+ android:defaultValue="false"
android:key="nightmode_enabled"
android:summary="@string/pref_nightmode_enabled_summary"
android:title="@string/pref_nightmode_enabled" />