<?xml version="1.0" encoding="utf-8"?>
<org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator xmlns:tools="http://schemas.android.com/tools"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:id="@+id/view_animator"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:animateLayoutChanges="true"
    android:inAnimation="@anim/fade_in"
    android:measureAllChildren="false"
    android:minHeight="?listPreferredItemHeightSmall"
    android:outAnimation="@anim/fade_out"
    custom:initialView="3"
    tools:showIn="@layout/security_token_operation_activity">

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <TextView
            android:id="@+id/security_token_activity_0_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="24dp"
            android:layout_marginRight="24dp"
            android:layout_marginTop="24dp"
            android:text="@string/security_token_nfc_text"
            android:textAppearance="@android:style/TextAppearance.Medium" />

        <Button
            android:id="@+id/security_token_activity_0_cancel"
            android:layout_width="wrap_content"
            android:layout_height="48dp"
            android:layout_margin="8dp"
            android:text="@string/progress_cancel" />

    </LinearLayout>

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <TextView
            android:id="@+id/security_token_activity_1_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="24dp"
            android:layout_marginRight="24dp"
            android:layout_marginTop="24dp"
            android:text="@string/security_token_nfc_wait"
            android:textAppearance="@android:style/TextAppearance.Medium" />

        <Button
            android:id="@+id/security_token_activity_1_button_placeholder"
            android:layout_width="wrap_content"
            android:layout_height="48dp"
            android:layout_margin="8dp"
            android:text=""
            android:visibility="invisible" />

    </LinearLayout>

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <TextView
            android:id="@+id/security_token_activity_2_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="24dp"
            android:layout_marginRight="24dp"
            android:layout_marginTop="24dp"
            android:text="@string/security_token_nfc_finished"
            android:textAppearance="@android:style/TextAppearance.Medium" />

        <Button
            android:id="@+id/security_token_activity_2_button_placeholder"
            android:layout_width="wrap_content"
            android:layout_height="48dp"
            android:layout_margin="8dp"
            android:text=""
            android:visibility="invisible" />

    </LinearLayout>

    <ScrollView
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <LinearLayout
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <TextView
                android:id="@+id/security_token_activity_3_text_placeholder"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="24dp"
                android:layout_marginTop="24dp"
                android:text=""
                android:textAppearance="@android:style/TextAppearance.Medium" />

            <TextView
                android:id="@+id/security_token_activity_3_error_text"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_margin="24dp"
                android:textAppearance="@android:style/TextAppearance.Medium"
                android:textColor="@color/android_red_dark"
                tools:text="Error text" />

            <Button
                android:id="@+id/security_token_activity_3_error_try_again"
                android:layout_width="wrap_content"
                android:layout_height="48dp"
                android:layout_margin="8dp"
                android:text="@string/security_token_error_try_again" />

        </LinearLayout>

    </ScrollView>

</org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator>
