preferences.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <EditTextPreference
  10. android:key="pref_external_location"
  11. android:dependency="pref_external_storage"
  12. android:defaultValue="/HosTaGe/LogFiles/"
  13. android:title="@string/pref_external_location_title"
  14. />
  15. </PreferenceCategory>
  16. <PreferenceCategory android:title="@string/pref_upload" >
  17. <EditTextPreference
  18. android:key="pref_upload_server"
  19. android:defaultValue="https://ssi.cased.de"
  20. android:title="@string/pref_upload_server" />
  21. </PreferenceCategory>
  22. <PreferenceCategory android:title="@string/pref_notification" >
  23. <CheckBoxPreference
  24. android:defaultValue="true"
  25. android:key="pref_vibration"
  26. android:summary="@string/pref_vibration_summ"
  27. android:title="@string/pref_vibration" />
  28. <RingtonePreference
  29. android:defaultValue="content://settings/system/notification_sound"
  30. android:key="pref_notification_sound"
  31. android:ringtoneType="notification"
  32. android:showDefault="true"
  33. android:showSilent="true"
  34. android:summary="@string/pref_alarm_summ"
  35. android:title="@string/pref_alarm" />
  36. </PreferenceCategory>
  37. <PreferenceCategory android:title="@string/pref_connection_settings" >
  38. <EditTextPreference
  39. android:key="pref_max_connections"
  40. android:defaultValue="@string/pref_max_connections_default"
  41. android:title="@string/pref_max_connections" />
  42. <EditTextPreference
  43. android:key="pref_timeout"
  44. android:defaultValue="@string/pref_timeout_default"
  45. android:title="@string/pref_timeout" />
  46. <EditTextPreference
  47. android:key="pref_sleeptime"
  48. android:defaultValue="@string/pref_sleeptime_default"
  49. android:title="@string/pref_sleeptime" />
  50. </PreferenceCategory>
  51. <PreferenceCategory android:title="@string/pref_location_settings" >
  52. <EditTextPreference
  53. android:key="pref_location_time"
  54. android:defaultValue="@string/pref_location_time_default"
  55. android:title="@string/pref_location_time" />
  56. <EditTextPreference
  57. android:key="pref_location_retries"
  58. android:defaultValue="@string/pref_location_retries_default"
  59. android:title="@string/pref_location_retries" />
  60. </PreferenceCategory>
  61. </PreferenceScreen>