<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto/"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<com.journeyapps.barcodescanner.DecoratedBarcodeView
|
android:id="@+id/zxing_barcode_scanner"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
app:zxing_preview_scaling_strategy="centerCrop"
|
app:zxing_use_texture_view="true"/>
|
</LinearLayout>
|