[2/2] OmniControl: CPU info overlay and OmniSettingsService

Change-Id: I2e85d740e8fcba68f495fad7e6e054a47f88a7d5
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 242783e..2730eea 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -56,5 +56,7 @@
     <string name="system_update_title">System updates</string>
     <string name="system_update_summary">Download and install OmniROM updates</string>
 
-
+    <string name="system_category">System</string>
+    <string name="show_cpu_title">Show CPU info</string>
+    <string name="show_cpu_summary">Screen overlay showing current CPU info</string>
 </resources>
\ No newline at end of file
diff --git a/app/src/main/res/xml/more_settings_preferences.xml b/app/src/main/res/xml/more_settings_preferences.xml
index 0a14d53..fc8bbd5 100644
--- a/app/src/main/res/xml/more_settings_preferences.xml
+++ b/app/src/main/res/xml/more_settings_preferences.xml
@@ -1,13 +1,16 @@
 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     android:key="more_settings"
-    android:title="More">
-    <Preference
-        android:key="bar"
-        android:title="bar" />
+    android:title="@string/more_settings_title">
 
-    <ListPreference
-        android:entries="@array/reply_entries"
-        android:entryValues="@array/reply_values"
-        android:key="list"
-        android:title="list" />
+    <PreferenceCategory
+        android:key="category_system"
+        android:title="@string/system_category">
+
+        <org.omnirom.omnilib.preference.SystemSettingSwitchPreference
+            android:key="show_cpu_overlay"
+            android:title="@string/show_cpu_title"
+            android:summary="@string/show_cpu_summary"
+            android:defaultValue="false" />
+
+    </PreferenceCategory>
 </PreferenceScreen>