Nice.
authorgitknilch <gitknilch@cwde.de>
Thu, 28 Feb 2013 10:17:47 +0000 (11:17 +0100)
committergitknilch <gitknilch@cwde.de>
Thu, 28 Feb 2013 10:17:47 +0000 (11:17 +0100)
Change-Id: Ic76ab4fd54e604c0f6014b19ff4da284879cba43
Signed-off-by: gitknilch <gitknilch@cwde.de>
res/values/strings.xml
res/xml/preferences.xml

index ba7f9f8847f99c09285394e859b6d101d5c8093b..992b7609ea792742750ecbccf1228bd7d8ebe4e6 100644 (file)
@@ -21,4 +21,8 @@ Get the source code: TODO
     <string name="difficulty_default">1</string>
     <string name="time_counter">Time Counter</string>
     <string name="gravity">Gravity</string>
+    <string name="gravity_pref_on">Gravity is active.</string>
+    <string name="gravity_pref_off">Gravity is disabled</string>
+    <string name="time_pref_on">Time Counter active</string>
+    <string name="time_pref_off">Time Counter disabled</string>
 </resources>
index 327f35047228a1f1e1714e3d6c2c699170a8191b..ade0be718fcb744cc19c6cde4c043c5433ad4436 100644 (file)
@@ -15,9 +15,9 @@
     <CheckBoxPreference 
         android:defaultValue="true" 
         android:title="@string/gravity"
-        android:key="pref_grav"/>
+        android:key="pref_grav" android:summaryOn="@string/gravity_pref_on" android:summaryOff="@string/gravity_pref_off"/>
     <CheckBoxPreference 
         android:defaultValue="true" 
         android:title="@string/time_counter"
-        android:key="prev_time"/>
+        android:key="pref_time" android:summaryOn="@string/time_pref_on" android:summaryOff="@string/time_pref_off"/>
 </PreferenceScreen>
\ No newline at end of file
Impressum, Datenschutz