mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-04 23:45:14 +00:00
39 lines
1.3 KiB
XML
39 lines
1.3 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: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"
|
|
android:textColor="?android:textColorPrimary" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|