1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout 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"
- android:orientation="vertical" android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:background="@color/white">
- <com.netease.nim.uikit.common.ui.imageview.HeadImageView
- android:id="@+id/item_mine_neaby_people_avatar"
- android:layout_width="48dp"
- android:layout_height="48dp"
- app:layout_constraintTop_toTopOf="parent"
- android:layout_marginTop="8dp"
- android:layout_marginLeft="8dp"
- app:layout_constraintLeft_toLeftOf="parent"
- android:src="@drawable/nim_avatar_default"/>
- <TextView
- android:id="@+id/item_mine_neaby_people_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="用户名"
- app:layout_constraintTop_toTopOf="@+id/item_mine_neaby_people_avatar"
- android:layout_marginTop="0dp"
- app:layout_constraintLeft_toRightOf="@+id/item_mine_neaby_people_avatar"
- android:layout_marginLeft="9dp" />
- <TextView
- android:id="@+id/item_mine_neaby_people_bio"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/grey_light_light"
- android:layout_marginTop="8dp"
- app:layout_constraintTop_toBottomOf="@+id/item_mine_neaby_people_name"
- android:layout_marginLeft="0dp"
- app:layout_constraintLeft_toLeftOf="@+id/item_mine_neaby_people_name" />
- <TextView
- android:id="@+id/item_mine_neaby_people_distance"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="距离"
- android:textColor="@color/grey_light_light"
- android:layout_marginRight="8dp"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- android:layout_marginTop="8dp" />
- </android.support.constraint.ConstraintLayout>
|