mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 16:07:30 +00:00
40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<?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
|
|
android:id="@+id/overlayView"
|
|
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
|
|
android:id="@+id/descriptionTextView"
|
|
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"
|
|
android:text="@string/fragment_scan_qr_code_explanation_new_conversation"
|
|
android:textColor="?android:textColorPrimary" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|