|
|
|
@ -1,8 +1,9 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<layout xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
|
|
|
|
<data>
|
|
|
|
|
|
|
|
|
|
<variable
|
|
|
|
|
name="item"
|
|
|
|
|
type="com.example.aucma_mes.entity.DefectBeen" />
|
|
|
|
@ -28,17 +29,29 @@
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/white" />
|
|
|
|
|
|
|
|
|
|
<!-- <TextView-->
|
|
|
|
|
<!-- style="@style/item_text_style"-->
|
|
|
|
|
<!-- android:layout_width="65dp"-->
|
|
|
|
|
<!-- android:layout_height="match_parent"-->
|
|
|
|
|
<!-- android:text="@{item.qualityDefectCode}" /> -->
|
|
|
|
|
<!-- <TextView-->
|
|
|
|
|
<!-- style="@style/item_text_style"-->
|
|
|
|
|
<!-- android:layout_width="65dp"-->
|
|
|
|
|
<!-- android:layout_height="match_parent"-->
|
|
|
|
|
<!-- android:text="@{item.qualityDefectCode}" /> -->
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="218dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_text_style"
|
|
|
|
|
android:layout_width="105dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:minHeight="44dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:minHeight="44dp"
|
|
|
|
|
android:text="@{item.productLineName}" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
@ -50,12 +63,24 @@
|
|
|
|
|
style="@style/item_text_style"
|
|
|
|
|
android:layout_width="110dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:minHeight="44dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:minHeight="44dp"
|
|
|
|
|
android:paddingStart="1dp"
|
|
|
|
|
android:paddingEnd="1dp"
|
|
|
|
|
android:text="@{item.qualityDefectName}"
|
|
|
|
|
tools:ignore="InefficientWeight" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="@color/white" />
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_text_style"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:text="@{item.inspectorTime}" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="2dp"
|
|
|
|
@ -68,8 +93,8 @@
|
|
|
|
|
android:layout_width="50dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text='@{item.processResult}'
|
|
|
|
|
android:textSize="15sp"
|
|
|
|
|
android:textColor="#E71717" />
|
|
|
|
|
android:textColor="#E71717"
|
|
|
|
|
android:textSize="15sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|