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">
|
|
|
|
|
|
2015-07-03 16:54:17 +02:00
|
|
|
<RelativeLayout
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-07-03 16:54:17 +02:00
|
|
|
android:layout_height="wrap_content">
|
2014-09-24 02:01:53 +02:00
|
|
|
|
2015-07-03 04:58:30 +02:00
|
|
|
<TextView
|
2015-07-03 16:54:17 +02:00
|
|
|
android:id="@+id/nfc_activity_text"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/nfc_text"
|
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
2015-07-03 16:54:17 +02:00
|
|
|
android:id="@+id/nfc_image"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-03 16:54:17 +02:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
|
android:layout_below="@+id/nfc_activity_text"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:adjustViewBounds="true"
|
2015-07-03 16:54:17 +02:00
|
|
|
android:background="@android:color/transparent"
|
|
|
|
|
android:src="@drawable/yubikey_phone" />
|
|
|
|
|
</RelativeLayout>
|
2015-07-03 04:58:30 +02:00
|
|
|
|
2015-07-03 16:54:17 +02:00
|
|
|
<RelativeLayout
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-07-03 16:54:17 +02:00
|
|
|
android:layout_height="wrap_content">
|
2015-07-03 04:58:30 +02:00
|
|
|
|
|
|
|
|
<TextView
|
2015-07-03 16:54:17 +02:00
|
|
|
android:id="@+id/nfc_activity_text2"
|
2015-07-03 04:58:30 +02:00
|
|
|
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"
|
2015-07-03 16:54:17 +02:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_centerVertical="true"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:padding="8dp" />
|
|
|
|
|
|
2015-07-03 16:54:17 +02:00
|
|
|
<!-- placeholder to retain dialog size -->
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/nfc_image_placeholder1"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
|
android:layout_below="@+id/nfc_activity_text2"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
|
android:src="@drawable/yubikey_phone"
|
|
|
|
|
android:visibility="invisible" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2015-07-03 04:58:30 +02:00
|
|
|
|
2015-07-03 16:54:17 +02:00
|
|
|
<RelativeLayout
|
2015-01-13 23:15:13 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-07-03 16:54:17 +02:00
|
|
|
android:layout_height="wrap_content">
|
2015-07-03 04:58:30 +02:00
|
|
|
|
|
|
|
|
<TextView
|
2015-07-03 16:54:17 +02:00
|
|
|
android:id="@+id/nfc_activity_text3"
|
2015-07-03 04:58:30 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/nfc_finished"
|
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
|
|
|
|
|
2015-07-03 16:54:17 +02:00
|
|
|
<!-- placeholder to retain dialog size -->
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/nfc_image_placeholder2"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
|
android:layout_below="@+id/nfc_activity_text3"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
|
android:src="@drawable/yubikey_phone"
|
|
|
|
|
android:visibility="invisible" />
|
2015-07-03 04:58:30 +02:00
|
|
|
|
2015-07-03 16:54:17 +02:00
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
|
android:src="@drawable/ic_check_circle_black_48dp" />
|
2015-07-03 04:58:30 +02:00
|
|
|
|
2015-07-03 16:54:17 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
</org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator>
|
2015-01-13 23:15:13 +01:00
|
|
|
|
2015-07-03 04:58:30 +02:00
|
|
|
</LinearLayout>
|