reader_general_settings.xml 3.7 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="wrap_content">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:orientation="vertical">
  11. <eu.kanade.tachiyomi.widget.MaterialSpinnerView
  12. android:id="@+id/background_color"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:entries="@array/reader_themes"
  16. app:title="@string/pref_reader_theme" />
  17. <com.google.android.material.switchmaterial.SwitchMaterial
  18. android:id="@+id/show_page_number"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:paddingStart="16dp"
  22. android:paddingEnd="16dp"
  23. android:text="@string/pref_show_page_number"
  24. android:textColor="?android:attr/textColorSecondary" />
  25. <com.google.android.material.switchmaterial.SwitchMaterial
  26. android:id="@+id/fullscreen"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:paddingStart="16dp"
  30. android:paddingEnd="16dp"
  31. android:text="@string/pref_fullscreen"
  32. android:textColor="?android:attr/textColorSecondary" />
  33. <com.google.android.material.switchmaterial.SwitchMaterial
  34. android:id="@+id/cutout_short"
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:paddingStart="16dp"
  38. android:paddingEnd="16dp"
  39. android:text="@string/pref_cutout_short"
  40. android:textColor="?android:attr/textColorSecondary"
  41. android:visibility="gone"
  42. tools:visibility="visible" />
  43. <com.google.android.material.switchmaterial.SwitchMaterial
  44. android:id="@+id/keepscreen"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:paddingStart="16dp"
  48. android:paddingEnd="16dp"
  49. android:text="@string/pref_keep_screen_on"
  50. android:textColor="?android:attr/textColorSecondary" />
  51. <com.google.android.material.switchmaterial.SwitchMaterial
  52. android:id="@+id/long_tap"
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:paddingStart="16dp"
  56. android:paddingEnd="16dp"
  57. android:text="@string/pref_read_with_long_tap"
  58. android:textColor="?android:attr/textColorSecondary" />
  59. <com.google.android.material.switchmaterial.SwitchMaterial
  60. android:id="@+id/always_show_chapter_transition"
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content"
  63. android:paddingStart="16dp"
  64. android:paddingEnd="16dp"
  65. android:text="@string/pref_always_show_chapter_transition"
  66. android:textColor="?android:attr/textColorSecondary" />
  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. android:textColor="?android:attr/textColorSecondary" />
  75. </LinearLayout>
  76. </androidx.core.widget.NestedScrollView>