settings.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!--
  2. This file is part of Zandy.
  3. Zandy is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU Affero General Public License as published by
  5. the Free Software Foundation, either version 3 of the License, or
  6. (at your option) any later version.
  7. Zandy is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Affero General Public License for more details.
  11. You should have received a copy of the GNU Affero General Public License
  12. along with Zandy. If not, see <http://www.gnu.org/licenses/>.
  13. -->
  14. <PreferenceScreen
  15. xmlns:android="http://schemas.android.com/apk/res/android"
  16. android:title="Settings">
  17. <PreferenceCategory android:title="@string/settings_basic"
  18. android:summary="">
  19. <CheckBoxPreference
  20. android:key="sync_aggressively"
  21. android:title="@string/settings_aggressive_syncing"
  22. android:summary="@string/settings_aggressive_syncing_desc" />
  23. <EditTextPreference
  24. android:key="user_id"
  25. android:title="@string/settings_user_id"
  26. android:summary="@string/settings_user_id_desc"
  27. android:numeric="integer" />
  28. <EditTextPreference
  29. android:key="user_key"
  30. android:title="@string/settings_api_key"
  31. android:summary="@string/settings_api_key_desc" />
  32. </PreferenceCategory>
  33. <PreferenceCategory android:title="@string/settings_webdav"
  34. android:summary="">
  35. <CheckBoxPreference
  36. android:key="webdav_enabled"
  37. android:title="@string/settings_webdav_enabled"
  38. android:summary="@string/settings_webdav_enabled_desc" />
  39. <EditTextPreference
  40. android:key="webdav_path"
  41. android:title="@string/settings_webdav_path"
  42. android:summary="@string/settings_webdav_path_desc"
  43. android:inputType="textUri" />
  44. <EditTextPreference
  45. android:key="webdav_username"
  46. android:title="@string/settings_webdav_username"
  47. android:summary="@string/settings_webdav_username_desc" />
  48. <EditTextPreference
  49. android:key="webdav_password"
  50. android:title="@string/settings_webdav_password"
  51. android:summary="@string/settings_webdav_password_desc"
  52. android:password="true" />
  53. </PreferenceCategory>
  54. </PreferenceScreen>