修改完成
parent
a45040d9df
commit
6c60c1c85b
@ -1,82 +1,134 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<data>
|
<data
|
||||||
|
android:layout_width="5dp"
|
||||||
|
android:layout_height="4dp">
|
||||||
|
|
||||||
<variable
|
<variable
|
||||||
name="data"
|
name="data"
|
||||||
type="com.example.as_trak.entity.LoadOperation" />
|
type="com.example.as_trak.entity.LoadOperation" />
|
||||||
|
|
||||||
|
<import type="android.view.View" />
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/item_opin_linear"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="45dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="1dp"
|
android:layout_marginTop="1dp"
|
||||||
android:background="@drawable/main_menu_bg">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="45dp"
|
||||||
android:layout_weight="1"
|
android:layout_marginTop="1dp"
|
||||||
android:gravity="center"
|
android:background="@drawable/button_update">
|
||||||
android:text="@{data.cargoCode}"
|
|
||||||
android:textSize="18sp" />
|
|
||||||
|
|
||||||
<View
|
<TextView
|
||||||
android:layout_width="1dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="#e1e1e1" />
|
android:layout_weight="1"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@{data.cargoCode}"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
|
||||||
<TextView
|
<View
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="#e1e1e1" />
|
||||||
|
|
||||||
android:layout_width="0dp"
|
<TextView
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@{data.luggageCode}"
|
|
||||||
android:textSize="18sp" />
|
|
||||||
|
|
||||||
<View
|
android:layout_width="0dp"
|
||||||
android:layout_width="1dp"
|
android:layout_height="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_weight="1"
|
||||||
android:background="#e1e1e1" />
|
android:gravity="center"
|
||||||
|
android:text="@{data.luggageCode}"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
|
||||||
<TextView
|
<View
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="#e1e1e1" />
|
||||||
|
|
||||||
android:layout_width="60dp"
|
<TextView
|
||||||
android:layout_height="match_parent"
|
|
||||||
|
|
||||||
android:gravity="center"
|
android:layout_width="80dp"
|
||||||
android:text="@{data.loadTime}"
|
android:layout_height="match_parent"
|
||||||
android:textSize="18sp" />
|
android:gravity="center"
|
||||||
|
android:text="装载时间:"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="1dp"
|
android:layout_width="1dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="#e1e1e1" />
|
android:background="#e1e1e1" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|
||||||
android:layout_width="50dp"
|
android:layout_width="60dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{data.type}"
|
android:text="@{data.loadTime}"
|
||||||
android:textSize="18sp" />
|
android:textSize="18sp" />
|
||||||
|
|
||||||
<!-- <View-->
|
|
||||||
<!-- android:layout_width="1dp"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:background="#e1e1e1" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:gravity="center"-->
|
|
||||||
<!-- android:text="@{data.state}"-->
|
|
||||||
<!-- android:textSize="18sp" />-->
|
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="45dp"
|
||||||
|
android:layout_marginTop="1dp"
|
||||||
|
android:visibility='@{data.type.equals("拉下")?View.VISIBLE:View.GONE}'
|
||||||
|
android:background="@drawable/button_delete">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@{data.cargoCode}"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="#e1e1e1" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@{data.luggageCode}"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="#e1e1e1" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="80dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="拉下时间:"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="#e1e1e1" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="60dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@{data.unLoadTime}"
|
||||||
|
android:textSize="18sp" />
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</layout>
|
</layout>
|
Loading…
Reference in New Issue