session-android/res/layout/fragment_scan_qr_code.xml

41 lines
1.5 KiB
XML
Raw Normal View History

2019-08-23 01:46:28 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
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">
2019-08-23 01:46:28 +00:00
<org.thoughtcrime.securesms.components.camera.CameraView
android:id="@+id/cameraView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:camera="0" />
<LinearLayout
2019-08-23 03:22:52 +00:00
android:id="@+id/overlayView"
2019-08-23 01:46:28 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="3" >
2019-08-23 01:46:28 +00:00
<org.thoughtcrime.securesms.components.ShapeScrim
android:layout_weight="2"
2019-08-23 01:46:28 +00:00
android:layout_width="match_parent"
android:layout_height="0dp"/>
2019-08-23 01:46:28 +00:00
<TextView
android:id="@+id/messageTextView"
2019-08-23 01:46:28 +00:00
android:layout_width="match_parent"
android:layout_height="0dp"
2019-08-23 01:46:28 +00:00
android:layout_weight="1"
android:padding="@dimen/very_large_spacing"
2019-08-23 01:46:28 +00:00
android:gravity="center"
android:text="Scan a users QR code to start a session. QR codes can be found by tapping the QR code icon in account settings."
android:background="?android:windowBackground"
android:textSize="@dimen/small_font_size"
android:textColor="?android:textColorTertiary" />
2019-08-23 01:46:28 +00:00
</LinearLayout>
</FrameLayout>