preferences.xml 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ownCloud Android client application
  4. Copyright (C) 2012 Bartek Przybylski
  5. Copyright (C) 2012-2013 ownCloud Inc.
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License version 2,
  8. as published by the Free Software Foundation.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. -->
  16. <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
  17. <PreferenceCategory android:title="@string/prefs_category_instant_uploading" android:key="instant_uploading_category">
  18. <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:key="instant_uploading"
  19. android:title="@string/prefs_instant_upload"
  20. android:summary="@string/prefs_instant_upload_summary"/>
  21. <com.owncloud.android.ui.PreferenceWithLongSummary
  22. android:title="@string/prefs_instant_upload_path_title"
  23. android:key="instant_upload_path" />
  24. <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
  25. android:title="@string/prefs_instant_upload_path_use_subfolders_title"
  26. android:summary="@string/prefs_instant_upload_path_use_subfolders_summary"
  27. android:key="instant_upload_path_use_subfolders" />
  28. <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
  29. android:dependency="instant_uploading"
  30. android:disableDependentsState="true"
  31. android:title="@string/instant_upload_on_wifi"
  32. android:key="instant_upload_on_wifi"/>
  33. <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
  34. android:title="@string/instant_upload_on_charging"
  35. android:key="instant_upload_on_charging"/>
  36. <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
  37. android:key="instant_video_uploading"
  38. android:title="@string/prefs_instant_video_upload"
  39. android:summary="@string/prefs_instant_video_upload_summary" />
  40. <com.owncloud.android.ui.PreferenceWithLongSummary
  41. android:title="@string/prefs_instant_video_upload_path_title"
  42. android:key="instant_video_upload_path" />
  43. <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
  44. android:title="@string/prefs_instant_upload_path_use_subfolders_title"
  45. android:summary="@string/prefs_instant_upload_path_use_subfolders_summary"
  46. android:key="instant_video_upload_path_use_subfolders" />
  47. <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
  48. android:title="@string/instant_video_upload_on_wifi"
  49. android:key="instant_video_upload_on_wifi"/>
  50. <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
  51. android:title="@string/instant_video_upload_on_charging"
  52. android:key="instant_video_upload_on_charging"/>
  53. <com.owncloud.android.ui.dialog.OwnCloudListPreference android:key="prefs_instant_behaviour"
  54. android:dialogTitle="@string/prefs_instant_behaviour_dialogTitle"
  55. android:title="@string/prefs_instant_behaviour_title"
  56. android:entries="@array/pref_behaviour_entries"
  57. android:entryValues="@array/pref_behaviour_entryValues"
  58. android:defaultValue="NOTHING"
  59. android:summary="%s"
  60. />
  61. <!-- DISABLED FOR RELEASE UNTIL FIXED
  62. CheckBoxPreference android:key="log_to_file"
  63. android:title="@string/prefs_log_title"
  64. android:summary="@string/prefs_log_summary"/>
  65. <Preference android:key="log_history"
  66. android:title="@string/prefs_log_title_history"
  67. android:summary="@string/prefs_log_summary_history"/ -->
  68. </PreferenceCategory>
  69. <PreferenceCategory android:title="@string/prefs_category_details">
  70. <android.preference.CheckBoxPreference android:title="@string/prefs_passcode" android:key="set_pincode" />
  71. </PreferenceCategory>
  72. <PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
  73. <Preference android:title="@string/prefs_calendar_contacts"
  74. android:key="calendar_contacts"
  75. android:summary="@string/prefs_calendar_contacts_summary" />
  76. <Preference android:title="@string/prefs_help" android:key="help" />
  77. <Preference android:title="@string/prefs_recommend" android:key="recommend" />
  78. <Preference android:title="@string/prefs_feedback" android:key="feedback" />
  79. <Preference android:title="@string/actionbar_logger" android:key="logger" />
  80. <Preference android:title="@string/prefs_imprint" android:key="imprint" />
  81. <Preference android:title="@string/about_title" android:id="@+id/about_app" android:key="about_app" />
  82. </PreferenceCategory>
  83. </PreferenceScreen>