You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.9 KiB
XML
99 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<data>
|
|
|
|
</data>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:context=".ShuangqianActivity">
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/info_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="55dp"
|
|
android:layout_gravity="center"
|
|
android:background="#6750A4"
|
|
android:letterSpacing="0.2"
|
|
android:text="MES轮胎绑定"
|
|
android:textColor="@color/white"
|
|
android:textSize="22sp"
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="55dp"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/info_text"
|
|
android:layout_width="110dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:text="扫描条码:" />
|
|
|
|
<TextView
|
|
android:id="@+id/socket_barcode"
|
|
style="@style/san_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="55dp"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/info_text"
|
|
android:layout_width="110dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:text="扫描RFID:" />
|
|
|
|
<TextView
|
|
android:id="@+id/socket_epc"
|
|
style="@style/san_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_weight="1"
|
|
android:text="" />
|
|
|
|
<Button
|
|
style="@style/button_style"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="65dp"
|
|
android:onClick="readRFID"
|
|
android:text="扫描RFID" />
|
|
|
|
<Button
|
|
|
|
style="@style/button_style"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="65dp"
|
|
android:onClick="submit"
|
|
android:text="数据提交" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</layout> |