2015-01-13 23:15:13 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-07-03 04:58:30 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
2014-09-24 02:01:53 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_height="wrap_content">
|
2014-09-24 02:01:53 +02:00
|
|
|
|
2015-07-03 04:58:30 +02:00
|
|
|
<org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator
|
|
|
|
|
android:id="@+id/view_animator"
|
2014-11-21 13:31:43 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-01-13 23:15:13 +01:00
|
|
|
android:layout_height="match_parent"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
|
android:inAnimation="@anim/fade_in"
|
|
|
|
|
android:measureAllChildren="false"
|
|
|
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
|
|
|
android:outAnimation="@anim/fade_out"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:paddingLeft="24dp"
|
|
|
|
|
android:paddingRight="24dp"
|
2015-01-13 23:15:13 +01:00
|
|
|
android:paddingTop="16dp"
|
2015-07-03 04:58:30 +02:00
|
|
|
custom:initialView="0">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@id/toolbar_include"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
2014-09-24 02:01:53 +02:00
|
|
|
|
2015-07-03 04:58:30 +02:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/nfc_text"
|
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:src="@drawable/yubikey_phone"
|
|
|
|
|
android:id="@+id/nfc_image"
|
|
|
|
|
android:background="@android:color/transparent" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2015-01-13 23:15:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_below="@id/toolbar_include"
|
|
|
|
|
android:layout_gravity="center"
|
2015-01-13 23:15:13 +01:00
|
|
|
android:gravity="center"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/nfc_wait"
|
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
2015-01-13 23:15:13 +01:00
|
|
|
|
2015-07-03 04:58:30 +02:00
|
|
|
<ProgressBar
|
|
|
|
|
style="?android:attr/progressBarStyleLarge"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="8dp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-01-13 23:15:13 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_below="@id/toolbar_include"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/nfc_finished"
|
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator>
|
|
|
|
|
|
2015-01-13 23:15:13 +01:00
|
|
|
|
2015-07-03 04:58:30 +02:00
|
|
|
</LinearLayout>
|