session-android/res/layout/fragment_scan_qr_code.xml

40 lines
1.4 KiB
XML
Raw Normal View History

2019-08-23 11:46:28 +10:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<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"
android:weightSum="2" >
<org.thoughtcrime.securesms.components.ShapeScrim
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView
2019-11-22 12:08:09 +11:00
android:id="@+id/descriptionTextView"
2019-08-23 11:46:28 +10:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:padding="32dp"
android:gravity="center"
android:background="@color/loki_darkest_gray"
2019-11-22 12:08:09 +11:00
android:text="@string/fragment_scan_qr_code_explanation_new_conversation"
2019-08-23 11:46:28 +10:00
android:textColor="?android:textColorPrimary" />
</LinearLayout>
</FrameLayout>