preferences.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. <CheckBoxPreference
  18. android:defaultValue="false"
  19. android:key="pref_auto_synchronize"
  20. android:summary="@string/pref_auto_synchronize_summ"
  21. android:title="@string/pref_auto_synchronize_title" />
  22. <EditTextPreference
  23. android:key="pref_upload_server"
  24. android:defaultValue="https://ssi.cased.de"
  25. android:title="@string/pref_upload_server" />
  26. </PreferenceCategory>
  27. <PreferenceCategory android:title="@string/pref_notification" >
  28. <CheckBoxPreference
  29. android:defaultValue="true"
  30. android:key="pref_vibration"
  31. android:summary="@string/pref_vibration_summ"
  32. android:title="@string/pref_vibration" />
  33. <RingtonePreference
  34. android:defaultValue="content://settings/system/notification_sound"
  35. android:key="pref_notification_sound"
  36. android:ringtoneType="notification"
  37. android:showDefault="true"
  38. android:showSilent="true"
  39. android:summary="@string/pref_alarm_summ"
  40. android:title="@string/pref_alarm" />
  41. </PreferenceCategory>
  42. <PreferenceCategory android:title="@string/pref_connection_settings" >
  43. <EditTextPreference
  44. android:key="pref_max_connections"
  45. android:defaultValue="@string/pref_max_connections_default"
  46. android:title="@string/pref_max_connections" />
  47. <EditTextPreference
  48. android:key="pref_timeout"
  49. android:defaultValue="@string/pref_timeout_default"
  50. android:title="@string/pref_timeout" />
  51. <EditTextPreference
  52. android:key="pref_sleeptime"
  53. android:defaultValue="@string/pref_sleeptime_default"
  54. android:title="@string/pref_sleeptime" />
  55. </PreferenceCategory>
  56. <PreferenceCategory android:title="@string/pref_location_settings" >
  57. <EditTextPreference
  58. android:key="pref_location_time"
  59. android:defaultValue="@string/pref_location_time_default"
  60. android:title="@string/pref_location_time" />
  61. <EditTextPreference
  62. android:key="pref_location_retries"
  63. android:defaultValue="@string/pref_location_retries_default"
  64. android:title="@string/pref_location_retries" />
  65. </PreferenceCategory>
  66. </PreferenceScreen>