12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout 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.support.constraint.ConstraintLayout
- android:orientation="vertical" android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="8dp">
- <com.netease.nim.uikit.common.ui.imageview.HeadImageView
- android:id="@+id/item_phone_contact_avtar"
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:src="@drawable/nim_avatar_default"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintLeft_toLeftOf="parent" />
- <TextView
- android:id="@+id/item_phone_contact_nickname_TV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="用户昵称"
- app:layout_constraintLeft_toRightOf="@+id/item_phone_contact_avtar"
- android:layout_marginLeft="9dp"
- app:layout_constraintTop_toTopOf="@+id/item_phone_contact_avtar"
- android:layout_marginTop="-8dp" />
- <TextView
- android:id="@+id/item_phone_contact_name_TV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="手机通讯录XXX"
- android:layout_marginLeft="0dp"
- app:layout_constraintLeft_toLeftOf="@+id/item_phone_contact_nickname_TV"
- android:layout_marginTop="14dp"
- app:layout_constraintTop_toBottomOf="@+id/item_phone_contact_nickname_TV" />
- <Button
- android:id="@+id/item_phone_contact_add_friends_btn"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="已添加"
- android:textColor="@color/white"
- android:background="@drawable/shape_button_rc_solid_bg_primarycolor"
- android:layout_marginRight="8dp"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- android:layout_marginTop="8dp"
- android:enabled="false"/>
- </android.support.constraint.ConstraintLayout>
- <View android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light"/>
- </LinearLayout>
|