2019-08-23 11:46:28 +10:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<FrameLayout
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-09-01 16:58:30 +10:00
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
2019-08-23 11:46:28 +10: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 13:22:52 +10:00
|
|
|
|
android:id="@+id/overlayView"
|
2019-08-23 11:46:28 +10:00
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
2020-09-01 16:58:30 +10:00
|
|
|
|
android:weightSum="3" >
|
2019-08-23 11:46:28 +10:00
|
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.ShapeScrim
|
2020-09-01 16:58:30 +10:00
|
|
|
|
android:layout_weight="2"
|
2019-08-23 11:46:28 +10:00
|
|
|
|
android:layout_width="match_parent"
|
2020-09-01 16:58:30 +10:00
|
|
|
|
android:layout_height="0dp"/>
|
2019-08-23 11:46:28 +10:00
|
|
|
|
|
|
|
|
|
<TextView
|
2020-09-01 16:58:30 +10:00
|
|
|
|
android:id="@+id/messageTextView"
|
2019-08-23 11:46:28 +10:00
|
|
|
|
android:layout_width="match_parent"
|
2020-09-01 16:58:30 +10:00
|
|
|
|
android:layout_height="0dp"
|
2019-08-23 11:46:28 +10:00
|
|
|
|
android:layout_weight="1"
|
2020-09-01 16:58:30 +10:00
|
|
|
|
android:padding="@dimen/very_large_spacing"
|
2019-08-23 11:46:28 +10:00
|
|
|
|
android:gravity="center"
|
2020-09-01 16:58:30 +10:00
|
|
|
|
android:text="Scan a user’s 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 11:46:28 +10:00
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|