OmniGears: Style : New preference category for OMS application
Launch application if installed or propose to install it else
Change-Id: Iafff34d4ace189f2f16b88ef7eb39e34a65e8830
diff --git a/res/xml/style_settings.xml b/res/xml/style_settings.xml
index 3f55725..f3474e5 100644
--- a/res/xml/style_settings.xml
+++ b/res/xml/style_settings.xml
@@ -17,23 +17,33 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
- <ListPreference
- android:key="night_mode"
- android:title="@string/night_mode_title"
- settings:keywords="@string/keywords_display_night_mode"
- android:summary="@string/night_mode_summary"
- android:entries="@array/night_mode_entries"
- android:entryValues="@array/night_mode_values" />
+ <PreferenceCategory
+ android:key="category_theming"
+ android:title="@string/theming_title">
- <PreferenceScreen
- android:key="custom_wall_browse"
- android:title="@string/custom_wall_browse_title"
- android:summary="@string/custom_wall_browse_summary"
- android:persistent="false" >
- <intent android:action="android.intent.action.MAIN"
- android:targetPackage="org.omnirom.omnistyle"
- android:targetClass="org.omnirom.omnistyle.BrowseWallsActivity" />
+ <Preference
+ android:key="oms_app"
+ android:title="@string/oms_app_title"
+ android:summary="@string/oms_app_summary"/>
+
+ <ListPreference
+ android:key="night_mode"
+ android:title="@string/night_mode_title"
+ settings:keywords="@string/keywords_display_night_mode"
+ android:summary="@string/night_mode_summary"
+ android:entries="@array/night_mode_entries"
+ android:entryValues="@array/night_mode_values" />
+
+ <PreferenceScreen
+ android:key="custom_wall_browse"
+ android:title="@string/custom_wall_browse_title"
+ android:summary="@string/custom_wall_browse_summary"
+ android:persistent="false" >
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="org.omnirom.omnistyle"
+ android:targetClass="org.omnirom.omnistyle.BrowseWallsActivity" />
</PreferenceScreen>
+ </PreferenceCategory>
<PreferenceCategory
android:key="category_statusbar"
@@ -92,6 +102,5 @@
settings:unitsRight="@string/unit_percent"
android:persistent="false"
android:dependency="status_bar_custom_header" />
-
</PreferenceCategory>
</PreferenceScreen>