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.
76 lines
2.5 KiB
XML
76 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<data>
|
|
<variable
|
|
name="item"
|
|
type="com.example.aucma_mes.entity.DefectBeen" />
|
|
</data>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/item_linear"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:background="#DEE3E6"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/item_index"
|
|
style="@style/item_text_style"
|
|
android:layout_width="30dp"
|
|
android:layout_height="match_parent"
|
|
android:text='@{item.index+""}' />
|
|
|
|
<View
|
|
android:layout_width="2dp"
|
|
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="105dp"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="44dp"
|
|
android:layout_gravity="center"
|
|
android:text="@{item.productLineName}" />
|
|
|
|
<View
|
|
android:layout_width="2dp"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white" />
|
|
|
|
<TextView
|
|
style="@style/item_text_style"
|
|
android:layout_width="110dp"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="44dp"
|
|
android:layout_gravity="center"
|
|
android:paddingStart="1dp"
|
|
android:paddingEnd="1dp"
|
|
android:text="@{item.qualityDefectName}"
|
|
tools:ignore="InefficientWeight" />
|
|
|
|
<View
|
|
android:layout_width="2dp"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white" />
|
|
|
|
<TextView
|
|
android:id="@+id/item_buttom"
|
|
style="@style/item_text_style"
|
|
android:layout_width="50dp"
|
|
android:layout_height="match_parent"
|
|
android:text='@{item.processResult.equals("未完成")?"未完成":"下返修"}'
|
|
android:textSize="15sp"
|
|
android:textColor="#E71717" />
|
|
|
|
|
|
</LinearLayout>
|
|
</layout> |