123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout 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">
- <TextView
- android:id="@+id/webtoon_prefs"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="24dp"
- android:text="@string/webtoon_viewer"
- android:textColor="?attr/colorAccent"
- android:textStyle="bold"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/webtoon_side_padding_text"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:text="@string/pref_webtoon_side_padding"
- app:layout_constraintBaseline_toBaselineOf="@id/webtoon_side_padding"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toLeftOf="@id/verticalcenter" />
- <androidx.appcompat.widget.AppCompatSpinner
- android:id="@+id/webtoon_side_padding"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:entries="@array/webtoon_side_padding"
- app:layout_constraintLeft_toRightOf="@id/verticalcenter"
- app:layout_constraintRight_toRightOf="@id/spinner_end"
- app:layout_constraintTop_toBottomOf="@+id/tapping_inverted" />
- <TextView
- android:id="@+id/webtoon_nav_text"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:text="@string/pref_viewer_nav"
- app:layout_constraintBaseline_toBaselineOf="@id/webtoon_nav"
- app:layout_constraintEnd_toStartOf="@id/verticalcenter"
- app:layout_constraintStart_toStartOf="parent" />
- <androidx.appcompat.widget.AppCompatSpinner
- android:id="@+id/webtoon_nav"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:entries="@array/webtoon_nav"
- app:layout_constraintEnd_toEndOf="@id/spinner_end"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toEndOf="@id/verticalcenter"
- app:layout_constraintTop_toBottomOf="@+id/webtoon_prefs" />
- <com.google.android.material.switchmaterial.SwitchMaterial
- android:id="@+id/crop_borders_webtoon"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="@string/pref_crop_borders"
- android:textColor="?android:attr/textColorSecondary"
- app:layout_constraintTop_toBottomOf="@+id/webtoon_side_padding" />
- <TextView
- android:id="@+id/tapping_inverted_text"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:text="@string/pref_read_with_tapping_inverted"
- app:layout_constraintBaseline_toBaselineOf="@id/tapping_inverted"
- app:layout_constraintEnd_toStartOf="@id/verticalcenter"
- app:layout_constraintStart_toStartOf="parent" />
- <androidx.appcompat.widget.AppCompatSpinner
- android:id="@+id/tapping_inverted"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:entries="@array/invert_tapping_mode"
- app:layout_constraintEnd_toEndOf="@id/spinner_end"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toEndOf="@id/verticalcenter"
- app:layout_constraintTop_toBottomOf="@+id/webtoon_nav" />
- <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" />
- <androidx.constraintlayout.widget.Group
- android:id="@+id/tapping_prefs_group"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:constraint_referenced_ids="webtoon_nav_text,webtoon_nav,tapping_inverted_text,tapping_inverted"
- tools:layout_editor_absoluteX="24dp" />
- <android.widget.Space
- android:id="@+id/spinner_end"
- android:layout_width="16dp"
- android:layout_height="0dp"
- app:layout_constraintStart_toEndOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
|