Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_dark"
android:clickable="true"
android:focusable="true"
tools:ignore="Overdraw">
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/back_button"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_marginTop="12dp"
android:layout_marginLeft="12dp"
app:srcCompat="@drawable/mozac_ic_back_24"
android:backgroundTint="@android:color/transparent"
/>
<TextView
android:id="@+id/camera_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/mozac_feature_qr_scanner_no_camera"
android:textColor="@android:color/white"
android:visibility="gone" />
<mozilla.components.feature.qr.views.AutoFitTextureView
android:id="@+id/texture"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true" />
<mozilla.components.feature.qr.views.CustomViewFinder
android:id="@+id/view_finder"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true" />
</RelativeLayout>