|
|
|
|
@ -1,262 +1,360 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:background="@color/allbg"
|
|
|
|
|
tools:context="com.example.tyre.DownActivity">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/tablebarStyleTwo"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="55dp"
|
|
|
|
|
android:text="轮胎卸车" />
|
|
|
|
|
android:background="#F5F7FA"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
tools:context=".DownActivity">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
style="@style/layout_t12_s8_style">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="扫描EPC:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/epc"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
style="@style/scanTextStyle"
|
|
|
|
|
/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
style="@style/layout_t12_s8_style">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="胎号:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/th"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
style="@style/textView_info_style"
|
|
|
|
|
/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
style="@style/layout_t12_s8_style">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="自编号:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/zbh"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
style="@style/textView_info_style" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/linearLayout4"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
style="@style/layout_t12_s8_style">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="车牌号:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/car"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
style="@style/textView_info_style" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/linearLayout1"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
style="@style/layout_t12_s8_style">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="终止里程:" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/start"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:inputType="number"
|
|
|
|
|
style="@style/scanTextStyle"
|
|
|
|
|
android:hint="输入终止里程"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/linearLayout5"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
style="@style/layout_t12_s8_style">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="拆下轮位:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/azlw"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
style="@style/textView_info_style" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/linearLayout7"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
style="@style/layout_t12_s8_style">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="花纹深度:" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/patternDepth"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
style="@style/textView_info_style"
|
|
|
|
|
android:imeOptions="actionDone"
|
|
|
|
|
android:inputType="numberDecimal"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<!-- 单位文本:固定宽度或包裹内容 -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="mm"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
android:textSize="15sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="45dp"
|
|
|
|
|
style="@style/layout_t12_s8_style">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="卸胎原因:" />
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
|
android:id="@+id/unloading_reason"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:entries="@array/xietai"
|
|
|
|
|
android:textAlignment="center"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/unloading_reason_remark"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="88dp"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
style="@style/textView_info_style"
|
|
|
|
|
android:gravity="top"
|
|
|
|
|
android:hint="输入卸胎原因"
|
|
|
|
|
android:minHeight="50dp"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
android:textColor="@color/textColor1"
|
|
|
|
|
android:textSize="15sp" />
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!--<LinearLayout-->
|
|
|
|
|
<!--android:layout_width="match_parent"-->
|
|
|
|
|
<!--android:layout_height="40dp"-->
|
|
|
|
|
<!--android:layout_marginStart="8dp"-->
|
|
|
|
|
<!--android:layout_marginTop="20dp"-->
|
|
|
|
|
<!--android:layout_marginEnd="8dp"-->
|
|
|
|
|
<!--android:orientation="horizontal"-->
|
|
|
|
|
<!--app:layout_constraintEnd_toEndOf="parent"-->
|
|
|
|
|
<!--app:layout_constraintStart_toStartOf="parent"-->
|
|
|
|
|
<!--app:layout_constraintTop_toBottomOf="@+id/linearLayout3">-->
|
|
|
|
|
<!--<TextView-->
|
|
|
|
|
<!--style="@style/alltext"-->
|
|
|
|
|
<!--android:layout_width="80dp"-->
|
|
|
|
|
<!--android:layout_height="match_parent"-->
|
|
|
|
|
<!--android:background="@color/blue2"-->
|
|
|
|
|
<!--android:text="操作人:" />-->
|
|
|
|
|
<!-- 页面标题 -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:background="#FFFFFF"
|
|
|
|
|
android:elevation="4dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
|
android:padding="8dp"
|
|
|
|
|
android:text="轮胎卸车管理"
|
|
|
|
|
android:textColor="#333333"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<!--<TextView-->
|
|
|
|
|
<!--android:id="@+id/czr"-->
|
|
|
|
|
<!--android:layout_width="match_parent"-->
|
|
|
|
|
<!--android:layout_height="match_parent"-->
|
|
|
|
|
<!--android:layout_marginStart="8dp"-->
|
|
|
|
|
<!--android:layout_weight="1"-->
|
|
|
|
|
<!--android:textSize="22sp"-->
|
|
|
|
|
<!--android:textColor="@color/black"-->
|
|
|
|
|
<!--android:background="@drawable/bg_santex_coppy"-->
|
|
|
|
|
<!--android:gravity="center" />-->
|
|
|
|
|
<!--<Spinner-->
|
|
|
|
|
<!--android:id="@+id/spinner2"-->
|
|
|
|
|
<!--android:entries="@array/user"-->
|
|
|
|
|
<!--android:layout_width="30dp"-->
|
|
|
|
|
<!--android:layout_height="match_parent"></Spinner>-->
|
|
|
|
|
<!--</LinearLayout>-->
|
|
|
|
|
<!-- 主表单卡片 -->
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:cardCornerRadius="12dp"
|
|
|
|
|
app:cardElevation="8dp"
|
|
|
|
|
android:layout_marginBottom="16dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
style="@style/layout_t12_s8_style"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/ok"
|
|
|
|
|
style="@style/buttonStyle"
|
|
|
|
|
android:layout_width="150dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="完成" />
|
|
|
|
|
<!-- 第一行:EPC芯片 (独立一行) -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginBottom="12dp">
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="EPC芯片"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/back"
|
|
|
|
|
style="@style/buttonStyle"
|
|
|
|
|
android:layout_width="150dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="返回" />
|
|
|
|
|
<!-- 使用TextView显示EPC,背景使用圆角 -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/epc"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:text="等待扫描..."
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 第二行:胎号 + 自编号 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginBottom="12dp">
|
|
|
|
|
|
|
|
|
|
<!-- 胎号 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="胎号"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/th"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:text="未读取"
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 自编号 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="自编号"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/zbh"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:text="--"
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 第三行:车牌号 + 终止里程 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginBottom="12dp">
|
|
|
|
|
|
|
|
|
|
<!-- 车牌号 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="车牌号"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/car"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:text="--"
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 终止里程 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="终止里程"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/start"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:hint="输入里程"
|
|
|
|
|
android:inputType="number" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 第四行:拆下轮位 + 花纹深度 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginBottom="12dp">
|
|
|
|
|
|
|
|
|
|
<!-- 拆下轮位 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="拆下轮位"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/azlw"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:text="--"
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 花纹深度 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="花纹深度 (mm)"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/patternDepth"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:hint="输入数值"
|
|
|
|
|
android:inputType="numberDecimal" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 第五行:卸胎原因 (独立一行) -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginBottom="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="卸胎原因"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
|
android:id="@+id/unloading_reason"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:entries="@array/xietai"
|
|
|
|
|
android:spinnerMode="dropdown" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 第六行:原因备注 (独立一行,仅在选择特定原因时显示或始终显示) -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginBottom="12dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:text="原因备注"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/unloading_reason_remark"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:hint="选填:补充说明..." />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
<!-- 底部操作按钮 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginTop="24dp">
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/ok"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:backgroundTint="#007AFF"
|
|
|
|
|
android:text="完 成 卸 车"
|
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:elevation="4dp" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/back"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:backgroundTint="#333333"
|
|
|
|
|
android:text="返 回"
|
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:elevation="4dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|