Map display not quite working
[Sunshine.git] / app / src / main / res / xml / pref_general.xml
index 7b55d11311fc43353ef296256cc5e4e323904acf..d8e9c673abebf03e607fd6e40041887c0440ba45 100644 (file)
@@ -3,12 +3,6 @@
     android:layout_height="match_parent"
     >
 
-    <CheckBoxPreference
-        android:key="example_checkbox"
-        android:title="@string/pref_title_social_recommendations"
-        android:summary="@string/pref_description_social_recommendations"
-        android:defaultValue="true" />
-
     <!-- NOTE: EditTextPreference accepts EditText attributes. -->
     <!-- NOTE: EditTextPreference's summary should be set to its value by the activity code. -->
     <EditTextPreference
          dismiss it. -->
     <!-- NOTE: ListPreference's summary should be set to its value by the activity code. -->
     <ListPreference
-        android:key="example_list"
-        android:title="@string/pref_title_add_friends_to_messages"
-        android:defaultValue="-1"
-        android:entries="@array/pref_example_list_titles"
-        android:entryValues="@array/pref_example_list_values"
+        android:key="@string/pref_units_key"
+        android:title="@string/pref_units_title"
+        android:defaultValue="@string/pref_units_default"
+        android:entries="@array/pref_units_labels"
+        android:entryValues="@array/pref_units_values"
+        android:summary="%s"
         android:negativeButtonText="@null"
         android:positiveButtonText="@null" />