2022-07-18 15:31:45 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2024-01-04 10:35:42 +08:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-07-18 15:31:45 +08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:paddingLeft="12dp"
|
2024-01-04 10:35:42 +08:00
|
|
|
android:paddingRight="12dp">
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
|
|
android:id="@+id/avatar"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:scaleType="centerCrop"
|
2024-01-04 10:35:42 +08:00
|
|
|
app:riv_oval="true" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="15dp"
|
|
|
|
android:layout_toRightOf="@id/avatar"
|
|
|
|
android:textColor="@color/textColor"
|
2024-01-04 10:35:42 +08:00
|
|
|
android:textSize="16sp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/sex"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="10dp"
|
2024-01-04 10:35:42 +08:00
|
|
|
android:layout_toRightOf="@id/name" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
2024-01-04 10:35:42 +08:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="55dp"
|
|
|
|
android:layout_height="19dp"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="5dp"
|
2024-01-04 10:35:42 +08:00
|
|
|
android:layout_toRightOf="@id/sex">
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/level"
|
|
|
|
android:layout_width="55dp"
|
|
|
|
android:layout_height="19dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/leave"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginStart="28dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/btn_invite"
|
|
|
|
android:layout_width="52dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:background="@drawable/bg_btn_live_pk"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textColor="@color/fg_btn_live_pk"
|
2024-01-04 10:35:42 +08:00
|
|
|
android:textSize="10sp" />
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
<View
|
|
|
|
style="@style/line2"
|
2024-01-04 10:35:42 +08:00
|
|
|
android:layout_alignParentBottom="true" />
|
2022-07-18 15:31:45 +08:00
|
|
|
</RelativeLayout>
|