preferences.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
  3. <PreferenceCategory android:title="@string/pref_storage" >
  4. <CheckBoxPreference
  5. android:defaultValue="false"
  6. android:key="pref_external_storage"
  7. android:summary="@string/pref_external_storage_summ"
  8. android:title="@string/pref_external_storage_title" />
  9. </PreferenceCategory>
  10. <PreferenceCategory android:title="@string/pref_tracing" >
  11. <CheckBoxPreference
  12. android:defaultValue="true"
  13. android:key="pref_upload"
  14. android:summary="@string/pref_upload_summ"
  15. android:title="@string/pref_upload" />
  16. <ListPreference
  17. android:defaultValue="WIFI"
  18. android:dependency="pref_upload"
  19. android:entries="@array/upload_entries"
  20. android:entryValues="@array/upload_values"
  21. android:key="pref_upload_"
  22. android:summary="@string/pref_upload_connection_summ"
  23. android:title="@string/pref_upload_connection" />
  24. </PreferenceCategory>
  25. <PreferenceCategory android:title="@string/pref_notification" >
  26. <CheckBoxPreference
  27. android:defaultValue="true"
  28. android:key="pref_vibration"
  29. android:summary="@string/pref_vibration_summ"
  30. android:title="@string/pref_vibration" />
  31. <RingtonePreference
  32. android:defaultValue="content://settings/system/notification_sound"
  33. android:key="pref_notification"
  34. android:ringtoneType="notification"
  35. android:showDefault="true"
  36. android:showSilent="true"
  37. android:summary="Select Notification Sound"
  38. android:title="@string/pref_alarm" />
  39. </PreferenceCategory>
  40. </PreferenceScreen>