<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<data>
|
|
<variable
|
name="activity"
|
type="com.dayu.recharge.activity.ReplacementActivity" />
|
|
</data>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/item"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="15dp"
|
android:layout_marginTop="10dp"
|
android:layout_marginRight="15dp"
|
android:onClick="@{ activity.itemClick}"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/userName"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="用户名"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/userNo"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="户号:123123"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/water"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="水量:123123"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/date"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="日期"
|
android:textSize="14sp" />
|
|
|
</LinearLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:layout_marginTop="15dp"
|
android:background="#000000" />
|
|
</LinearLayout>
|
|
|
</layout>
|