<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical">

    <androidx.appcompat.widget.Toolbar
        android:id="@+id/payments_recovery_start_fragment_toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        android:theme="?actionBarStyle"
        app:navigationIcon="@drawable/ic_arrow_left_24"
        app:title="@string/PaymentsRecoveryStartFragment__recovery_phrase"
        app:titleTextAppearance="@style/TextAppearance.Signal.Body1.Bold" />

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fillViewport="true">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <ImageView
                android:id="@+id/payments_recovery_start_fragment_image"
                android:layout_width="120dp"
                android:layout_height="72dp"
                android:layout_marginTop="162dp"
                android:layout_marginBottom="20dp"
                android:importantForAccessibility="no"
                app:layout_constraintBottom_toTopOf="@id/payments_recovery_start_fragment_title"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintVertical_bias="0"
                app:layout_constraintVertical_chainStyle="packed"
                app:srcCompat="@drawable/ic_recovery_phrase" />

            <TextView
                android:id="@+id/payments_recovery_start_fragment_title"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="40dp"
                android:layout_marginEnd="40dp"
                android:layout_marginBottom="12dp"
                android:gravity="center"
                android:text="@string/PaymentsRecoveryStartFragment__view_recovery_phrase"
                android:textAppearance="@style/TextAppearance.Signal.Title2"
                app:layout_constraintBottom_toTopOf="@id/payments_recovery_start_fragment_message"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@id/payments_recovery_start_fragment_image" />

            <org.thoughtcrime.securesms.util.views.LearnMoreTextView
                android:id="@+id/payments_recovery_start_fragment_message"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="40dp"
                android:layout_marginEnd="40dp"
                android:layout_marginBottom="12dp"
                android:lineSpacingExtra="6sp"
                android:textAppearance="@style/TextAppearance.Signal.Body2"
                app:layout_constraintBottom_toTopOf="@id/payments_recovery_start_fragment_paste"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@id/payments_recovery_start_fragment_title"
                tools:text="Your recovery phrase is a 24-word phrase unique to you. Write it down and store it in a safe place. You can use this phrase to restore your balance. Learn more." />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/payments_recovery_start_fragment_paste"
                style="@style/Signal.Widget.Button.Medium.Secondary"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="48dp"
                android:layout_marginEnd="48dp"
                android:layout_marginBottom="16dp"
                android:text="@string/PaymentsRecoveryStartFragment__paste_from_clipboard"
                app:layout_constraintBottom_toTopOf="@id/payments_recovery_start_fragment_start"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/payments_recovery_start_fragment_start"
                style="@style/Signal.Widget.Button.Large.Primary"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="48dp"
                android:layout_marginEnd="48dp"
                android:layout_marginBottom="24dp"
                android:text="@string/PaymentsRecoveryStartFragment__start"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent" />

        </androidx.constraintlayout.widget.ConstraintLayout>

    </ScrollView>

</LinearLayout>
