2021-03-27 10:31:21 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<!-- Series-specific preferences -->
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/viewer_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-27 22:53:19 +08:00
|
|
|
android:text="@string/pref_category_for_this_series"
|
2021-03-27 10:31:21 +08:00
|
|
|
app:layout_constraintBaseline_toBaselineOf="@id/viewer"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/verticalcenter"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatSpinner
|
|
|
|
android:id="@+id/viewer"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:entries="@array/viewers_selector"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/spinner_end"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/verticalcenter"
|
2021-03-27 22:53:19 +08:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2021-03-27 10:31:21 +08:00
|
|
|
|
|
|
|
<!-- Pager preferences -->
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/pager_prefs_group"
|
|
|
|
layout="@layout/reader_pager_settings"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/viewer"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<!-- Webtoon preferences -->
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/webtoon_prefs_group"
|
|
|
|
layout="@layout/reader_webtoon_settings"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/viewer" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
|
|
android:id="@+id/verticalcenter"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintGuide_percent="0.5" />
|
|
|
|
|
2021-03-27 22:53:19 +08:00
|
|
|
<android.widget.Space
|
|
|
|
android:id="@+id/spinner_end"
|
|
|
|
android:layout_width="16dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintStart_toEndOf="parent"
|
|
|
|
tools:ignore="MissingConstraints" />
|
|
|
|
|
2021-03-27 10:31:21 +08:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|