123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?xml version="1.0" encoding="utf-8"?>
- <layout xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:android="http://schemas.android.com/apk/res/android" >
- <data >
- <variable
- name="item"
- type="com.quansu.heifengwuliu.model.DataInfoBean.OrderBean.ReceiveBean" />
- </data >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- xmlns:tools="http://schemas.android.com/tools"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:orientation="horizontal"
- android:layout_marginTop="@dimen/dp_10"
- android:gravity="center_vertical"
- android:layout_height="wrap_content">
- <ImageView
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:src="@drawable/ic_time"
- android:layout_marginEnd="@dimen/dp_10"
- />
- <TextView
- android:layout_width="match_parent"
- android:textSize="@dimen/sp_15"
- android:textColor="@color/text_title"
- android:text="@{item.time}"
- tools:text="08-01-1"
- android:layout_height="wrap_content">
- </TextView>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:orientation="horizontal"
- android:layout_marginTop="@dimen/dp_10"
- android:gravity="center_vertical"
- android:layout_height="wrap_content">
- <ImageView
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:src="@drawable/ic_enter"
- android:layout_marginEnd="@dimen/dp_10"
- />
- <TextView
- android:layout_width="match_parent"
- android:textSize="@dimen/sp_15"
- android:textColor="@color/text_title"
- android:text="@{item.province.name+item.city.name+item.area.name}"
- android:layout_height="wrap_content">
- </TextView>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:orientation="horizontal"
- android:gravity="center_vertical"
- android:paddingStart="35dp"
- android:layout_marginTop="@dimen/dp_10"
- android:layout_marginBottom="@dimen/dp_5"
- android:layout_height="wrap_content">
- <TextView
- android:layout_width="wrap_content"
- android:textSize="@dimen/sp_15"
- android:textColor="@color/text_title"
- android:text="联系人:"
- android:layout_height="wrap_content">
- </TextView>
- <TextView
- android:layout_width="wrap_content"
- android:textSize="@dimen/sp_15"
- android:textColor="@color/text_title"
- android:text="@{item.name}"
- android:layout_height="wrap_content">
- </TextView>
- <TextView
- android:layout_width="0dp"
- android:layout_weight="1"
- android:gravity="right"
- android:textSize="@dimen/sp_15"
- android:textColor="@color/text_title"
- android:text="电话:"
- android:layout_height="wrap_content">
- </TextView>
- <TextView
- android:layout_width="wrap_content"
- android:textSize="@dimen/sp_15"
- android:textColor="@color/text_title"
- android:text="@{item.mobile}"
- android:layout_height="wrap_content">
- </TextView>
- </LinearLayout>
- </LinearLayout>
- </layout >
|