reader_general_settings.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical">
  11. <eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
  12. android:id="@+id/rotation_mode"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:entries="@array/rotation_type"
  16. app:title="@string/pref_rotation_type" />
  17. <eu.kanade.tachiyomi.ui.reader.setting.SpinnerPreference
  18. android:id="@+id/background_color"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:entries="@array/reader_themes"
  22. app:title="@string/pref_reader_theme" />
  23. <com.google.android.material.switchmaterial.SwitchMaterial
  24. android:id="@+id/show_page_number"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:paddingStart="16dp"
  28. android:paddingEnd="16dp"
  29. android:text="@string/pref_show_page_number" />
  30. <com.google.android.material.switchmaterial.SwitchMaterial
  31. android:id="@+id/fullscreen"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:paddingStart="16dp"
  35. android:paddingEnd="16dp"
  36. android:text="@string/pref_fullscreen" />
  37. <com.google.android.material.switchmaterial.SwitchMaterial
  38. android:id="@+id/cutout_short"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:text="@string/pref_cutout_short"
  42. android:paddingStart="16dp"
  43. android:paddingEnd="16dp"
  44. android:visibility="gone"
  45. tools:visibility="visible" />
  46. <com.google.android.material.switchmaterial.SwitchMaterial
  47. android:id="@+id/keepscreen"
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:paddingStart="16dp"
  51. android:paddingEnd="16dp"
  52. android:text="@string/pref_keep_screen_on" />
  53. <com.google.android.material.switchmaterial.SwitchMaterial
  54. android:id="@+id/long_tap"
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:paddingStart="16dp"
  58. android:paddingEnd="16dp"
  59. android:text="@string/pref_read_with_long_tap" />
  60. <com.google.android.material.switchmaterial.SwitchMaterial
  61. android:id="@+id/always_show_chapter_transition"
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:paddingStart="16dp"
  65. android:paddingEnd="16dp"
  66. android:text="@string/pref_always_show_chapter_transition" />
  67. <com.google.android.material.switchmaterial.SwitchMaterial
  68. android:id="@+id/page_transitions"
  69. android:layout_width="match_parent"
  70. android:layout_height="wrap_content"
  71. android:paddingStart="16dp"
  72. android:paddingEnd="16dp"
  73. android:text="@string/pref_page_transitions" />
  74. </LinearLayout>
  75. </androidx.core.widget.NestedScrollView>