Mostly split the interface to use the database
[Sunshine.git] / app / src / main / res / xml / pref_general.xml
index d8e9c673abebf03e607fd6e40041887c0440ba45..06a739017b5ef7b1b2069a6cba21fb1a0a6518ab 100644 (file)
          dismiss it. -->
     <!-- NOTE: ListPreference's summary should be set to its value by the activity code. -->
     <ListPreference
+        android:title="@string/pref_units_label"
         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:defaultValue="@string/pref_units_metric"
         android:entryValues="@array/pref_units_values"
-        android:summary="%s"
-        android:negativeButtonText="@null"
-        android:positiveButtonText="@null" />
+        android:entries="@array/pref_units_options" />
 
 </PreferenceScreen>