pref_laf_wf_weather.xml raw

   1  <?xml version="1.0" encoding="utf-8"?>
   2  <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
   3  
   4      <Preference
   5          android:icon="@drawable/ic_info"
   6          android:summary="@string/pref_look_and_feel_weather_provider" />
   7  
   8      <PreferenceCategory
   9          android:title="@string/pref_look_and_feel_weather">
  10  
  11          <SwitchPreference
  12              android:defaultValue="false"
  13              android:key="ao_weather"
  14              android:icon="@drawable/ic_cloud"
  15              android:summary="@string/pref_look_and_feel_weather_show_summary"
  16              android:title="@string/pref_look_and_feel_weather_info" />
  17      </PreferenceCategory>
  18  
  19      <PreferenceCategory
  20          android:title="@string/pref_look_and_feel">
  21  
  22          <EditTextPreference
  23              android:defaultValue=""
  24              android:key="ao_weather_location"
  25              android:icon="@drawable/ic_location"
  26              android:summary="@string/pref_look_and_feel_weather_location_summary"
  27              android:title="@string/pref_look_and_feel_weather_location" />
  28  
  29          <SwitchPreference
  30              android:defaultValue="false"
  31              android:key="ao_weather_imperial"
  32              android:icon="@drawable/ic_thermostat"
  33              android:summary="@string/pref_look_and_feel_weather_unit_summary"
  34              android:title="@string/pref_look_and_feel_weather_unit"/>
  35  
  36          <Preference
  37              android:defaultValue="%t"
  38              android:key="ao_weather_format"
  39              android:icon="@drawable/ic_short_text"
  40              android:summary="@string/pref_look_and_feel_weather_format_summary"
  41              android:title="@string/pref_look_and_feel_weather_format" />
  42      </PreferenceCategory>
  43  </PreferenceScreen>