<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
	xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:orientation="horizontal">

	<ImageView
		android:id="@+id/imageView"
		android:layout_width="0dp"
		android:layout_height="wrap_content"
		android:layout_gravity="center_vertical"
		android:layout_weight="1"
		android:adjustViewBounds="true"
		android:paddingBottom="@dimen/margin_activity_vertical"
		android:paddingEnd="@dimen/margin_activity_horizontal"
		android:paddingLeft="@dimen/margin_activity_horizontal"
		android:paddingRight="@dimen/margin_activity_horizontal"
		android:paddingStart="@dimen/margin_activity_horizontal"
		android:paddingTop="@dimen/margin_activity_vertical"
		android:scaleType="fitCenter"
		android:src="@drawable/qr_code_intro"/>

	<ScrollView
		android:id="@+id/scrollView"
		android:layout_width="0dp"
		android:layout_height="match_parent"
		android:layout_weight="1">

		<LinearLayout
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:orientation="vertical"
			android:paddingBottom="@dimen/margin_activity_vertical"
			android:paddingEnd="@dimen/margin_activity_horizontal"
			android:paddingLeft="@dimen/margin_activity_horizontal"
			android:paddingRight="@dimen/margin_activity_horizontal"
			android:paddingStart="@dimen/margin_activity_horizontal"
			android:paddingTop="@dimen/margin_activity_vertical">

			<LinearLayout
				android:layout_width="match_parent"
				android:layout_height="wrap_content"
				android:background="@drawable/border_explanation"
				android:orientation="vertical"
				android:padding="@dimen/margin_large">

				<ImageView
					android:layout_width="match_parent"
					android:layout_height="wrap_content"
					android:adjustViewBounds="true"
					android:padding="@dimen/margin_medium"
					android:src="@drawable/qr_code_explanation"
					tools:ignore="ContentDescription"/>

				<TextView
					style="@style/BriarTextBody"
					android:layout_width="match_parent"
					android:layout_height="wrap_content"
					android:layout_marginTop="@dimen/margin_medium"
					android:text="@string/face_to_face"/>

			</LinearLayout>

			<Button
				android:id="@+id/continueButton"
				style="@style/BriarButton.Default"
				android:layout_width="match_parent"
				android:layout_height="wrap_content"
				android:layout_gravity="center_horizontal"
				android:layout_marginTop="@dimen/margin_medium"
				android:text="@string/continue_button"/>

		</LinearLayout>

	</ScrollView>

</LinearLayout>