-
Notifications
You must be signed in to change notification settings - Fork 2
/
barcode_classic_activity.xml
40 lines (34 loc) · 1.37 KB
/
barcode_classic_activity.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="BarcodeScannerExample.Droid.BarcodeClassicComponentActivity">
<io.scanbot.sdk.barcode.ui.BarcodeScannerView
android:id="@+id/camera"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<View
android:id="@+id/finder_overlay"
android:layout_width="300dp"
android:layout_height="300dp"
android:layout_gravity="center_vertical|center_horizontal"
android:background="@drawable/container_bg" />
<TextView
android:id="@+id/snapped_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|left"
android:contentDescription="snapped_message" />
<Button
android:id="@+id/flash"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|right"
android:text="Flash" />
<ImageView
android:id="@+id/result"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="bottom|right"
android:contentDescription="snap_result"/>
</FrameLayout>