mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
72 lines
2.9 KiB
XML
72 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/default_session_background" >
|
|
|
|
<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"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
android:layout_marginRight="@dimen/large_spacing"
|
|
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"
|
|
android:layout_width="280dp"
|
|
android:layout_height="280dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/explanationTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginRight="@dimen/large_spacing"
|
|
android:textSize="@dimen/medium_font_size"
|
|
android:textColor="@color/text"
|
|
android:textAlignment="center"
|
|
android:text="This is your unique public QR code. Other users can scan this to start a conversation with you." />
|
|
|
|
<Button
|
|
style="@style/MediumUnimportantOutlineButton"
|
|
android:id="@+id/shareButton"
|
|
android:layout_width="196dp"
|
|
android:layout_height="@dimen/medium_button_height"
|
|
android:layout_marginTop="28dp"
|
|
android:layout_marginBottom="@dimen/medium_spacing"
|
|
android:text="Share" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</RelativeLayout> |