169 lines
6.1 KiB
XML
169 lines
6.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/transfer_animator"
|
|
android:inAnimation="@anim/fade_in_delayed"
|
|
android:outAnimation="@anim/fade_out"
|
|
custom:initialView="03">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<ImageView
|
|
android:layout_width="250dp"
|
|
android:layout_height="250dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginBottom="16dp"
|
|
android:id="@+id/qr_code_image"
|
|
tools:src="@drawable/ic_qrcode_white_24dp"
|
|
tools:tint="@color/md_black_1000"
|
|
/>
|
|
|
|
<Button
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_margin="8dp"
|
|
android:id="@+id/button_scan"
|
|
android:text="Scan"
|
|
android:drawableLeft="@drawable/ic_qrcode_white_24dp"
|
|
android:drawablePadding="8dp"
|
|
/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_margin="8dp"
|
|
android:text="Scan with either device to establish a secure connection for device setup."
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Connection status:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:id="@+id/connection_status_1"
|
|
tools:text="Connected to 123.456.123.123"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="Available Keys:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
style="@style/SectionHeader"
|
|
/>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<org.sufficientlysecure.keychain.ui.transfer.view.TransferSecretKeyList
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/transfer_key_list"
|
|
/>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="16dp"
|
|
android:text="Connection status:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:id="@+id/connection_status_2"
|
|
tools:text="Connected to 123.456.123.123"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:text="Received Keys:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
style="@style/SectionHeader"
|
|
/>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<org.sufficientlysecure.keychain.ui.transfer.view.ReceivedSecretKeyList
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/received_key_list"
|
|
/>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<ImageView
|
|
android:layout_width="96dp"
|
|
android:layout_height="96dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginBottom="16dp"
|
|
android:src="@drawable/ic_wifi_off_96dp"
|
|
android:tint="@color/md_grey_600"
|
|
/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_margin="8dp"
|
|
android:text="This feature can only be used on Wifi."
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</LinearLayout>
|
|
|
|
</org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator> |