|
|
|
|
@ -1,276 +1,322 @@
|
|
|
|
|
<?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"
|
|
|
|
|
tools:context="com.example.tyre.UpActivity">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textView2"
|
|
|
|
|
style="@style/tablebarStyleTwo"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:text="轮胎装车"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
android:background="#F5F7FA"
|
|
|
|
|
android:padding="8dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/linearLayout2"
|
|
|
|
|
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="EPC:" />
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!-- 页面标题 -->
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<!-- 主表单卡片 -->
|
|
|
|
|
<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="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<!-- 第一行:EPC芯片 (独立一行) -->
|
|
|
|
|
<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:text="EPC芯片"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:layout_marginStart="4dp"/>
|
|
|
|
|
|
|
|
|
|
<!-- 使用TextView显示EPC,背景使用圆角 -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/epc"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="15sp"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
android:background="@drawable/bg_santex_coppy"
|
|
|
|
|
android:gravity="center" />
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:text="请扫描EPC"
|
|
|
|
|
android:textColor="#555"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 第二行:胎号 + 自编号 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
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="胎号:" />
|
|
|
|
|
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:text="胎号"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:layout_marginStart="4dp"/>
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/th"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="15sp"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
android:background="@drawable/bg_santex_coppy"
|
|
|
|
|
android:gravity="center" />
|
|
|
|
|
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="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">
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/blue2"
|
|
|
|
|
android:text="自编号:" />
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="自编号"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:layout_marginStart="4dp"/>
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/zbh"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="15sp"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
android:background="@drawable/bg_santex_coppy"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:inputType="textVisiblePassword"/>
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
<!-- 第三行:车牌号 (带搜索图标) -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/linearLayout4"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/linearLayout3">
|
|
|
|
|
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
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/blue2"
|
|
|
|
|
android:text="车牌号:" />
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="车牌号"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:layout_marginStart="4dp"/>
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/car"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:background="@drawable/bg_santex_coppy"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:inputType="number"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
android:textSize="22sp"
|
|
|
|
|
/>
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/searchButton"
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@mipmap/search_icon"
|
|
|
|
|
android:contentDescription="搜索" />
|
|
|
|
|
|
|
|
|
|
<!-- <Spinner-->
|
|
|
|
|
<!-- android:id="@+id/carAdapter"-->
|
|
|
|
|
<!-- android:layout_width="50dp"-->
|
|
|
|
|
<!-- android:layout_height="match_parent"></Spinner>-->
|
|
|
|
|
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
|
|
|
|
|
android:id="@+id/linearLayout1"
|
|
|
|
|
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">
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="0.4"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/alltext"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/blue2"
|
|
|
|
|
android:text="起始里程:" />
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="操作"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:layout_marginStart="4dp"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/searchButton"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:backgroundTint="#007AFF"
|
|
|
|
|
android:text="🔍 搜索"
|
|
|
|
|
android:textColor="#FFFFFF" />
|
|
|
|
|
</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:text="起始里程"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:layout_marginStart="4dp"/>
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/start"
|
|
|
|
|
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"
|
|
|
|
|
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="0"
|
|
|
|
|
android:inputType="number" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 安装轮位 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/linearLayout5"
|
|
|
|
|
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="安装轮位:" />
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/azlw"
|
|
|
|
|
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" />
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="安装轮位"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:layout_marginStart="4dp"/>
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
|
android:id="@+id/condition"
|
|
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="match_parent"></Spinner>
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:spinnerMode="dropdown" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<!--<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: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>-->
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<!-- 花纹深度(独立一行) -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:layout_marginTop="50dp"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
android:layout_marginStart="50dp"
|
|
|
|
|
android:layout_marginEnd="50dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginBottom="12dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="花纹深度"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:layout_marginStart="4dp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/patternDepth"
|
|
|
|
|
style="@style/infotext"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:background="@drawable/rounded_input_bg"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:inputType="numberDecimal"
|
|
|
|
|
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="150dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:id="@+id/confirmButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="完成"
|
|
|
|
|
style="@style/buttonStyle"/>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
/>
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:backgroundTint="#333333"
|
|
|
|
|
android:text="确 认 装 车"
|
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:elevation="4dp" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/back"
|
|
|
|
|
android:layout_width="150dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="返回"
|
|
|
|
|
style="@style/buttonStyle"/>
|
|
|
|
|
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:backgroundTint="#333333"
|
|
|
|
|
android:text="取 消"
|
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:elevation="4dp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|