mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-15 19:45:09 +01:00
108 lines
4.4 KiB
XML
108 lines
4.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<FrameLayout 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.constraintlayout.widget.ConstraintLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<include
|
||
|
android:id="@+id/migration_manga_card_from"
|
||
|
layout="@layout/migration_manga_card"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginTop="16dp"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:layout_constraintWidth_max="450dp" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/imageView"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="50dp"
|
||
|
android:adjustViewBounds="true"
|
||
|
android:contentDescription="migrating to"
|
||
|
android:scaleType="center"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/migration_manga_card_from"
|
||
|
app:srcCompat="@drawable/ic_arrow_down_white_32dp" />
|
||
|
|
||
|
<include
|
||
|
android:id="@+id/migration_manga_card_to"
|
||
|
layout="@layout/migration_manga_card"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/imageView"
|
||
|
app:layout_constraintWidth_max="450dp" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/skip_migration"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:drawableStart="@drawable/ic_clear_grey_24dp_img"
|
||
|
android:drawablePadding="6dp"
|
||
|
android:text="Skip manga"
|
||
|
android:textColor="#ffffff"
|
||
|
app:backgroundTint="#E53935"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toStartOf="@+id/accept_migration"
|
||
|
app:layout_constraintHorizontal_bias="0.5"
|
||
|
app:layout_constraintStart_toStartOf="parent" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/accept_migration"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:alpha="0.5"
|
||
|
android:drawableStart="@drawable/ic_check_box_24dp"
|
||
|
android:drawablePadding="6dp"
|
||
|
android:enabled="false"
|
||
|
android:text="Migrate manga"
|
||
|
android:textColor="#ffffff"
|
||
|
app:backgroundTint="#00C853"
|
||
|
app:layout_constraintBottom_toBottomOf="@+id/skip_migration"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintHorizontal_bias="0.5"
|
||
|
app:layout_constraintStart_toEndOf="@+id/skip_migration" />
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/migrating_frame"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/migrating_view"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="#E6FFFFFF" />
|
||
|
|
||
|
<ProgressBar
|
||
|
android:id="@+id/migrating_progress"
|
||
|
style="?android:attr/progressBarStyle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center" />
|
||
|
</FrameLayout>
|
||
|
|
||
|
</FrameLayout>
|