mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-16 00:15:07 +01:00
207 lines
8.6 KiB
XML
207 lines
8.6 KiB
XML
|
<?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"
|
||
|
android:animateLayoutChanges="true">
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/recycler"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/textView2"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintHorizontal_bias="0.0"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
tools:listitem="@layout/migration_source_item">
|
||
|
|
||
|
</androidx.recyclerview.widget.RecyclerView>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textView2"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="@string/data_to_include_in_migration"
|
||
|
android:textAppearance="@style/TextAppearance.Medium.Body2"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/mig_chapters"
|
||
|
app:layout_constraintStart_toStartOf="@+id/textView" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/mig_chapters"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:checked="true"
|
||
|
android:text="@string/chapters"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/textView"
|
||
|
app:layout_constraintStart_toStartOf="@+id/textView2" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/mig_categories"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:checked="true"
|
||
|
android:text="@string/categories"
|
||
|
app:layout_constraintBottom_toBottomOf="@+id/mig_chapters"
|
||
|
app:layout_constraintStart_toEndOf="@+id/mig_chapters" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/mig_tracking"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:checked="true"
|
||
|
android:text="@string/track"
|
||
|
app:layout_constraintBottom_toBottomOf="@+id/mig_categories"
|
||
|
app:layout_constraintStart_toEndOf="@+id/mig_categories" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textView"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="@string/options"
|
||
|
android:textAppearance="@style/TextAppearance.Medium.Body2"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/prioritize_chapter_count"
|
||
|
app:layout_constraintStart_toStartOf="parent" />
|
||
|
|
||
|
<androidx.appcompat.widget.SwitchCompat
|
||
|
android:id="@+id/prioritize_chapter_count"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
app:layout_constraintStart_toStartOf="@+id/textView"
|
||
|
app:layout_constraintTop_toTopOf="@+id/migration_mode" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/migration_mode"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:gravity="start|center_vertical"
|
||
|
android:clickable="true"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/fuzzy_search"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toEndOf="@+id/prioritize_chapter_count"
|
||
|
android:focusable="true" />
|
||
|
|
||
|
<androidx.appcompat.widget.SwitchCompat
|
||
|
android:id="@+id/use_smart_search"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:layout_constraintStart_toStartOf="@+id/textView"
|
||
|
app:layout_constraintTop_toTopOf="@+id/fuzzy_search" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/fuzzy_search"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:gravity="start|center_vertical"
|
||
|
android:text="@string/use_intelligent_search"
|
||
|
android:clickable="true"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/copy_manga"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toEndOf="@+id/prioritize_chapter_count"
|
||
|
android:focusable="true" />
|
||
|
|
||
|
<androidx.appcompat.widget.SwitchCompat
|
||
|
android:id="@+id/copy_manga"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:layout_constraintStart_toStartOf="@+id/textView"
|
||
|
app:layout_constraintTop_toTopOf="@+id/copy_manga_desc" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/copy_manga_desc"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:gravity="start|center_vertical"
|
||
|
android:text="@string/keep_old_manga"
|
||
|
android:clickable="true"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/extra_search_param"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toEndOf="@+id/prioritize_chapter_count"
|
||
|
android:focusable="true" />
|
||
|
|
||
|
<androidx.appcompat.widget.SwitchCompat
|
||
|
android:id="@+id/extra_search_param"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:layout_constraintStart_toStartOf="@+id/textView"
|
||
|
app:layout_constraintTop_toTopOf="@+id/extra_search_param_desc" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/extra_search_param_desc"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:gravity="start|center_vertical"
|
||
|
android:text="@string/include_extra_search_parameter"
|
||
|
android:clickable="true"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/extra_search_param_text"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toEndOf="@+id/prioritize_chapter_count"
|
||
|
android:focusable="true" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/extra_search_param_text"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:ems="10"
|
||
|
android:hint="@string/search_parameter"
|
||
|
android:inputType="textPersonName"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/begin_migration_btn"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
android:importantForAutofill="no" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/begin_migration_btn"
|
||
|
style="@style/Theme.Widget.Button.Colored"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="@string/begin_migration"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent" />
|
||
|
|
||
|
<androidx.constraintlayout.widget.Group
|
||
|
android:id="@+id/options_group"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:constraint_referenced_ids="migration_mode,use_smart_search,fuzzy_search,copy_manga,extra_search_param_desc,mig_tracking,textView,mig_chapters,copy_manga_desc,textView2,prioritize_chapter_count,mig_categories,extra_search_param" />
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|