pref_main.xml raw

   1  <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
   2  
   3      <PreferenceCategory android:title="@string/pref_general">
   4  
   5          <SwitchPreference
   6              android:defaultValue="false"
   7              android:icon="@drawable/ic_always_on"
   8              android:key="always_on"
   9              android:summaryOff="@string/pref_disabled"
  10              android:summaryOn="@string/pref_enabled"
  11              android:title="@string/pref_always_on" />
  12          <SwitchPreference
  13              android:defaultValue="false"
  14              android:icon="@drawable/ic_charging"
  15              android:key="charging_animation"
  16              android:summaryOff="@string/pref_disabled"
  17              android:summaryOn="@string/pref_enabled"
  18              android:title="@string/pref_charging" />
  19      </PreferenceCategory>
  20  
  21      <PreferenceCategory android:title="@string/pref_look_and_feel">
  22  
  23          <Preference
  24              android:icon="@drawable/ic_clock"
  25              android:key="pref_watch_face"
  26              android:summary="@string/pref_ao_watch_face_summary"
  27              android:title="@string/pref_ao_watch_face" />
  28          <Preference
  29              android:icon="@drawable/ic_smartphone"
  30              android:key="pref_background"
  31              android:summary="@string/pref_ao_background_summary"
  32              android:title="@string/pref_ao_background" />
  33          <Preference
  34              android:icon="@drawable/ic_build"
  35              android:key="rules"
  36              android:summary="@string/pref_look_and_feel_rules_summary"
  37              android:title="@string/pref_look_and_feel_rules" />
  38          <Preference
  39              android:icon="@drawable/ic_speed"
  40              android:key="pref_behavior"
  41              android:summary="@string/pref_ao_behavior_summary"
  42              android:title="@string/pref_ao_behavior" />
  43          <Preference
  44              android:icon="@drawable/ic_charging"
  45              android:key="charging_style"
  46              android:summary="@string/pref_look_and_feel_charging_summary"
  47              android:title="@string/pref_look_and_feel_charging" />
  48      </PreferenceCategory>
  49  
  50      <PreferenceCategory android:title="@string/pref_ao_other" >
  51          <Preference
  52              android:icon="@drawable/ic_security"
  53              android:key="pref_permissions"
  54              android:summary="@string/pref_permissions_summary"
  55              android:title="@string/pref_permissions" />
  56          <Preference
  57              android:icon="@drawable/ic_help"
  58              android:key="pref_help"
  59              android:summary="@string/help_center_summary"
  60              android:title="@string/help_center" />
  61          <Preference
  62              android:icon="@drawable/ic_info"
  63              android:key="pref_about"
  64              android:summary="@string/about_summary"
  65              android:title="@string/about" />
  66      </PreferenceCategory>
  67  
  68  </PreferenceScreen>
  69