Added config to hide transition page when not needed (#2682)

* Added config to hide transition page when not needed

* Moved always_show_chapter_transition setting to General group
This commit is contained in:
morcefaster
2020-03-09 20:36:29 +02:00
committed by GitHub
parent bd2dfaad2e
commit 9936b402a6
12 changed files with 64 additions and 9 deletions

View File

@@ -152,11 +152,20 @@
android:textColor="?android:attr/textColorSecondary"
app:layout_constraintTop_toBottomOf="@id/keepscreen" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/always_show_chapter_transition"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/pref_always_show_chapter_transition"
android:textColor="?android:attr/textColorSecondary"
app:layout_constraintTop_toBottomOf="@id/long_tap" />
<androidx.legacy.widget.Space
android:id="@+id/end_general_preferences"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="@id/long_tap" />
app:layout_constraintBottom_toBottomOf="@id/always_show_chapter_transition" />
<!-- Pager preferences -->