<?xml version="1.0" encoding="utf-8"?>
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools">
|
|
<data>
|
<variable
|
name="owner"
|
type="com.application.zhangshi_app_android.bean.PetBean" />
|
</data>
|
|
<androidx.cardview.widget.CardView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:cardBackgroundColor="#FFFFFCFC"
|
app:cardCornerRadius="5dp"
|
android:layout_marginHorizontal="30dp">
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
>
|
<ImageView
|
android:id="@+id/iv_dialog_close"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:layout_marginEnd="15dp"
|
android:background="@drawable/ic_dialog_close"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_margin="30dp"
|
android:orientation="vertical"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintTop_toTopOf="parent">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="养犬人信息"
|
android:textColor="#66000000"
|
android:textSize="14sp"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="养犬人姓名:"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="@{owner.masterName}"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="移动电话:"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="@{owner.phone}"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="证件号码:"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="@{owner.masterIdNum}"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="住所详细地址:"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="@{owner.masterAddress}"
|
android:textColor="@color/black"
|
android:textSize="14sp" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.cardview.widget.CardView>
|
</layout>
|