misp-bump/app/src/main/res/layout/activity_public_key_exchang...

81 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000"
android:fitsSystemWindows="false">
<FrameLayout
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#96000000">
<LinearLayout
android:visibility="visible"
android:id="@+id/qr_background"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="@drawable/rounded_square">
<ImageView
android:contentDescription="@string/qr_code"
android:id="@+id/qr_imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<TextView
android:visibility="visible"
android:id="@+id/forward_description"
android:layout_below="@id/qr_background"
android:layout_centerHorizontal="true"
android:padding="32dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/colorWhite"
android:text="@string/sync_info_let_scan"/>
<ImageButton
android:contentDescription="@string/exit"
android:id="@+id/close"
android:padding="16dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:tint="@color/colorWhite"
android:src="@drawable/icon_close"
android:background="?android:selectableItemBackgroundBorderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<Button
android:id="@+id/forward"
android:visibility="visible"
android:padding="16dp"
android:layout_marginTop="32dp"
android:layout_below="@id/forward_description"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/str_continue"
android:textColor="@color/colorWhite"
android:textAllCaps="true"
style="@style/Widget.AppCompat.Button.Colored"/>
</RelativeLayout>
</android.support.design.widget.CoordinatorLayout>