Files
HouseProperty/app/src/main/res/layout/user_fragment_item.xml
2020-08-03 09:11:54 +08:00

66 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<data>
<variable
name="myentity"
type="entity.MyUserFEntity">
</variable>
</data>
<LinearLayout
android:id="@+id/user_fragment_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_marginLeft="21dip"
android:layout_marginRight="21dip"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imageView"
android:layout_width="8dip"
android:layout_height="14dp"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_marginBottom="15dip"
android:layout_marginTop="24dip"
android:background="@mipmap/returnme" />
<ImageView
android:id="@+id/imageViewlogo"
android:layout_width="25dip"
android:layout_height="30dip"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:scaleType="fitCenter"
android:src="@mipmap/genren" />
<TextView
android:layout_width="304dp"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="15dp"
android:layout_marginEnd="-5dp"
android:layout_toStartOf="@+id/imageView"
android:layout_toEndOf="@+id/imageViewlogo"
android:text="@{myentity.titile}"
android:textColor="#4B4B4B"
android:textSize="16sp" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="0.5dip"
android:background="@color/LightGray" />
</LinearLayout>
</layout>