preferences.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
  3. <PreferenceCategory android:title="@string/prefs_general" >
  4. <Preference
  5. android:key="comics_directory"
  6. android:hint="@string/comics_directory_default"
  7. android:summary="@string/prefs_comics_directory_summary"
  8. android:title="@string/prefs_comics_directory" >
  9. </Preference>
  10. <Preference
  11. android:key="open_storage_dir"
  12. android:summary="@string/prefs_open_storage_dir_summary"
  13. android:title="@string/prefs_open_storage_dir" >
  14. </Preference>
  15. <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
  16. android:defaultValue="true"
  17. android:key="enable_fab"
  18. android:summary="Show floating action button"
  19. android:title="Enable FAB" />
  20. </PreferenceCategory>
  21. <PreferenceCategory android:title="@string/prefs_sync" >
  22. <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
  23. android:defaultValue="false"
  24. android:key="use_position_sync"
  25. android:title="@string/prefs_use_position_sync"
  26. android:summary="@string/prefs_use_position_sync_summary"
  27. />
  28. <Preference
  29. android:dependency="use_position_sync"
  30. android:key="choose_sync_account"
  31. android:title="Choose sync account"
  32. />
  33. <Preference
  34. android:dependency="use_position_sync"
  35. android:key="clear_sync_data"
  36. android:title="@string/prefs_clear_sync_data"
  37. android:summary="@string/prefs_clear_sync_data_summary" >
  38. </Preference>
  39. <Preference
  40. android:key="privacy_policy"
  41. android:enabled="true"
  42. android:title="@string/privacy_policy" />
  43. </PreferenceCategory>
  44. <PreferenceCategory android:title="@string/prefs_reading" android:key="prefs_reading">
  45. <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
  46. android:defaultValue="false"
  47. android:key="use_dark_theme"
  48. android:title="@string/prefs_dark_theme" />
  49. <!-- <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
  50. android:defaultValue="false"
  51. android:key="dim_status_bar"
  52. android:title="@string/prefs_dim_status_bar" /> -->
  53. <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
  54. android:defaultValue="false"
  55. android:key="use_full_screen"
  56. android:title="@string/prefs_use_full_screen" />
  57. <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
  58. android:defaultValue="false"
  59. android:key="fit_to_width"
  60. android:title="@string/prefs_fit_to_width" />
  61. <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
  62. android:defaultValue="false"
  63. android:key="prevent_screen_sleep"
  64. android:title="@string/prefs_prevent_screen_sleep" />
  65. <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
  66. android:defaultValue="true"
  67. android:key="use_page_transformer"
  68. android:title="@string/prefs_use_page_transformer" />
  69. </PreferenceCategory>
  70. <Preference
  71. android:key="version"
  72. android:enabled="false"
  73. android:title="@string/prefs_version_title" />
  74. <Preference
  75. android:key="build_timestamp"
  76. android:enabled="false"
  77. android:title="@string/prefs_build_timestamp_title" />
  78. </PreferenceScreen>