2020-01-06 05:05:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
2020-08-21 05:06:39 +00:00
|
|
|
android:layout_height="match_parent">
|
2020-01-06 05:05:57 +00:00
|
|
|
|
2020-09-09 22:45:20 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1px"
|
|
|
|
android:background="?android:dividerHorizontal"
|
|
|
|
android:elevation="1dp" />
|
|
|
|
|
2020-01-06 05:05:57 +00:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:scrollbars="none">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/contentView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-09 00:35:43 +00:00
|
|
|
android:gravity="center_horizontal"
|
2020-01-06 05:05:57 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-06 23:52:50 +00:00
|
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
2020-01-06 05:05:57 +00:00
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
2020-01-06 23:52:50 +00:00
|
|
|
android:layout_marginRight="@dimen/large_spacing"
|
2020-01-06 05:05:57 +00:00
|
|
|
android:textSize="@dimen/massive_font_size"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:text="Scan Me" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/very_large_spacing"
|
|
|
|
android:layout_marginTop="@dimen/small_spacing"
|
|
|
|
android:layout_marginRight="@dimen/very_large_spacing"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/qrCodeImageView"
|
2020-01-06 23:52:50 +00:00
|
|
|
android:layout_width="280dp"
|
|
|
|
android:layout_height="280dp" />
|
2020-01-06 05:05:57 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/explanationTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-06 23:52:50 +00:00
|
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
2020-01-06 05:05:57 +00:00
|
|
|
android:layout_marginTop="20dp"
|
2020-01-06 23:52:50 +00:00
|
|
|
android:layout_marginRight="@dimen/large_spacing"
|
2020-01-06 05:05:57 +00:00
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textAlignment="center"
|
2020-01-23 05:48:03 +00:00
|
|
|
android:text="This is your QR code. Other users can scan it to start a session with you." />
|
2020-01-06 05:05:57 +00:00
|
|
|
|
|
|
|
<Button
|
2020-08-24 06:46:12 +00:00
|
|
|
style="@style/Widget.Session.Button.Common.UnimportantOutline"
|
2020-01-06 05:05:57 +00:00
|
|
|
android:id="@+id/shareButton"
|
2020-01-09 00:35:43 +00:00
|
|
|
android:layout_width="196dp"
|
2020-01-06 05:05:57 +00:00
|
|
|
android:layout_height="@dimen/medium_button_height"
|
|
|
|
android:layout_marginTop="28dp"
|
|
|
|
android:layout_marginBottom="@dimen/medium_spacing"
|
|
|
|
android:text="Share" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
</RelativeLayout>
|