wxr
2021-07-01 43b0d5870d528f23ecd6aeceb6cfd4325188b46f
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent">
 
      <GateWay.Droid.ZXingOverlayView
      android:layout_width="match_parent"
      android:layout_height="match_parent"/>
    <RelativeLayout
    android:layout_width="fill_parent"
    android:layout_height="50dp"
    android:layout_gravity="top"
    android:background="#99000000">
<!--
    <ImageButton
        android:id="@+id/capture_imageview_back"
        android:layout_width="42dp"
        android:layout_height="42dp"
        android:layout_centerVertical="true"
        android:background="@drawable/abc_ic_ab_back_material"/>
-->
    <TextView
        android:id="@+id/tv_zxing_scan"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:textColor="#ffffffff"
        android:textSize="20sp"
        android:text="扫一扫"/>
 
</RelativeLayout>
 
  <TextView
      android:id="@+id/tv_zxing_back"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textColor="#FFFFFF"
      android:textSize="18sp"
      android:paddingLeft="10dp"
      android:paddingBottom="10dp"
      android:text="@android:string/cancel"
      android:layout_alignParentLeft ="true"
      android:layout_alignParentBottom="true"/>
  <TextView
      android:id="@+id/tv_zxing_flash"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textSize="18sp"
      android:textColor="#FFFFFF"
      android:paddingRight="10dp"
      android:paddingBottom="10dp"
      android:text="闪光灯"
      android:layout_alignParentRight ="true"
      android:layout_alignParentBottom="true"
        />
</RelativeLayout>