settings_preferences.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_notification" >
  4. <CheckBoxPreference
  5. android:defaultValue="true"
  6. android:key="pref_vibration"
  7. android:summary="@string/pref_vibration_summ"
  8. android:title="@string/pref_vibration" />
  9. <RingtonePreference
  10. android:defaultValue="content://settings/system/notification_sound"
  11. android:key="pref_notification_sound"
  12. android:ringtoneType="notification"
  13. android:showDefault="true"
  14. android:showSilent="true"
  15. android:summary="@string/pref_alarm_summ"
  16. android:title="@string/pref_alarm" />
  17. </PreferenceCategory>
  18. <PreferenceCategory android:title="@string/pref_storage" >
  19. <EditTextPreference
  20. android:key="pref_external_location"
  21. android:defaultValue="/HosTaGe/LogFiles/"
  22. android:title="@string/pref_external_location_title"
  23. />
  24. <Preference
  25. android:key="pref_external_export"
  26. android:title="@string/export_to_location"
  27. />
  28. </PreferenceCategory>
  29. <PreferenceCategory android:title="@string/pref_upload" >
  30. <EditTextPreference
  31. android:key="pref_upload_server"
  32. android:defaultValue="https://ssi.cased.de"
  33. android:title="@string/pref_upload_server" />
  34. </PreferenceCategory>
  35. <PreferenceCategory android:title="@string/advanced_settings">
  36. <PreferenceScreen
  37. android:key="pref_advanced settings"
  38. android:title="@string/advanced_settings"
  39. android:persistent="false">
  40. <PreferenceCategory android:title="@string/pref_connection_settings" >
  41. <EditTextPreference
  42. android:key="pref_max_connections"
  43. android:defaultValue="@string/pref_max_connections_default"
  44. android:title="@string/pref_max_connections" />
  45. <EditTextPreference
  46. android:key="pref_timeout"
  47. android:defaultValue="@string/pref_timeout_default"
  48. android:summary="@string/pref_timeout_summary"
  49. android:title="@string/pref_timeout" />
  50. <EditTextPreference
  51. android:key="pref_sleeptime"
  52. android:defaultValue="@string/pref_sleeptime_default"
  53. android:summary="@string/pref_sleeptime_summary"
  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:summary="@string/pref_location_time_summary"
  61. android:title="@string/pref_location_time" />
  62. <EditTextPreference
  63. android:key="pref_location_retries"
  64. android:defaultValue="@string/pref_location_retries_default"
  65. android:title="@string/pref_location_retries" />
  66. </PreferenceCategory>
  67. </PreferenceScreen>
  68. </PreferenceCategory>
  69. </PreferenceScreen>