|
|
|
@ -17,6 +17,13 @@
|
|
|
|
|
name="checkState"
|
|
|
|
|
type="androidx.databinding.ObservableBoolean" />
|
|
|
|
|
|
|
|
|
|
<variable
|
|
|
|
|
name="listNumber"
|
|
|
|
|
type="String" />
|
|
|
|
|
<variable
|
|
|
|
|
name="sanNumber"
|
|
|
|
|
type="String" />
|
|
|
|
|
|
|
|
|
|
<import type="android.view.View" />
|
|
|
|
|
</data>
|
|
|
|
|
|
|
|
|
@ -36,9 +43,9 @@
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
|
android:layout_marginTop="2dp">
|
|
|
|
|
android:paddingRight="5dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_text_style"
|
|
|
|
@ -46,6 +53,7 @@
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
|
|
android:text="轮挡RFID" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="1dp"
|
|
|
|
|
android:layout_height="28dp"
|
|
|
|
@ -74,8 +82,7 @@
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:letterSpacing="0.1"
|
|
|
|
|
android:text="操作"
|
|
|
|
|
android:textColor="@color/blue"
|
|
|
|
|
/>
|
|
|
|
|
android:textColor="@color/blue" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- <LinearLayout
|
|
|
|
@ -158,22 +165,44 @@
|
|
|
|
|
android:background="@color/white"
|
|
|
|
|
android:padding="5dp"
|
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="35dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="总数:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="100dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text='@{listNumber??"0"}'
|
|
|
|
|
android:textColor="@color/blue" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="总数:"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="已扫描:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="100dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textColor="@color/blue"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text='@{sanNumber??"0"}'
|
|
|
|
|
android:textColor="@color/blue" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="55dp"
|
|
|
|
@ -190,27 +219,29 @@
|
|
|
|
|
android:onClick="offCheckRead"
|
|
|
|
|
android:text='@{checkState?"停止读取":"开始扫描"}'
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:layout_width="100dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
|
|
|
|
|
android:src="@mipmap/icon_cromer"
|
|
|
|
|
android:onClick="check_tackPhoto"/>
|
|
|
|
|
android:onClick="check_tackPhoto"
|
|
|
|
|
android:src="@mipmap/icon_cromer" />
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
|
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
android:layout_marginLeft="10dp">
|
|
|
|
|
<Button
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:onClick="check_showPhoto"
|
|
|
|
|
android:text="查看照片"/>
|
|
|
|
|
android:text="查看照片" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/confirm_picture_number2"
|
|
|
|
@ -221,8 +252,7 @@
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="0"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
/>
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|