<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <com.onfido.android.sdk.capture.ui.widget.ShadowedScrollView
        android:layout_width="match_parent"
        android:layout_alignParentTop="true"
        android:layout_above="@+id/trademark"
        android:layout_height="match_parent">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_above="@+id/trademark"
            android:layout_gravity="center"
            android:layout_marginLeft="@dimen/onfido_message_screen_text_margin_horizontal"
            android:layout_marginRight="@dimen/onfido_message_screen_text_margin_horizontal"
            android:orientation="vertical">

            <ImageView
                android:layout_width="@dimen/onfido_green_tick_dimen"
                android:layout_height="@dimen/onfido_green_tick_dimen"
                android:layout_gravity="center_horizontal"
                android:layout_marginBottom="@dimen/onfido_liveness_info_image_margin"
                app:srcCompat="@drawable/onfido_green_tick" />

            <TextView
                style="@style/OnfidoTextStyle.Title.Large"
                android:layout_width="wrap_content"
                android:id="@+id/title"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:layout_marginTop="@dimen/onfido_liveness_info_image_margin"
                android:layout_marginBottom="@dimen/onfido_liveness_info_text_spacing"
                android:gravity="center"
                android:text="@string/onfido_thank_you" />

        </LinearLayout>

    </com.onfido.android.sdk.capture.ui.widget.ShadowedScrollView>

    <ImageView
        android:id="@+id/trademark"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_above="@+id/submit"
        android:layout_centerHorizontal="true"
        android:tint="@color/onfido_watermark_color_grey"
        app:srcCompat="@drawable/onfido_ic_watermark" />

    <com.onfido.android.sdk.capture.ui.widget.Button
        android:id="@+id/submit"
        style="@style/OnfidoFlatButton"
        app:onfidoButtonText="@string/onfido_submit_verification" />

</RelativeLayout>