110 lines
4.0 KiB
XML
110 lines
4.0 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_60">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/room_item_bg"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/room_item_seq"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="19dp"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="12sp"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<com.xscm.moduleutil.widget.GifAvatarOvalView
|
||
|
|
android:id="@+id/room_item_head"
|
||
|
|
android:layout_width="@dimen/dp_36"
|
||
|
|
android:layout_height="@dimen/dp_36"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:src="@color/white"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintLeft_toRightOf="@+id/room_item_seq"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:riv_oval="true" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/ll_top_info"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toStartOf="@+id/room_item_pop"
|
||
|
|
app:layout_constraintLeft_toRightOf="@+id/room_item_head"
|
||
|
|
app:layout_constraintStart_toEndOf="@+id/room_item_head"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintVertical_bias="0.20">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/room_item_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:ellipsize="end"
|
||
|
|
android:gravity="left"
|
||
|
|
android:maxWidth="@dimen/dp_80"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:text="杭州吴亦凡又大又圆"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="@dimen/sp_14" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="5dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/room_item_rank"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/room_item_grade"
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:layout_marginLeft="5dp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<com.xscm.moduleutil.widget.BeautifulNameView
|
||
|
|
android:id="@+id/bnv_rank_list_room"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="10dp"
|
||
|
|
app:layout_constraintBottom_toBottomOf="@+id/room_item_head"
|
||
|
|
app:layout_constraintLeft_toRightOf="@+id/room_item_head"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/room_item_pop"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginRight="12dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:drawableStart="@mipmap/rank_h"
|
||
|
|
android:paddingLeft="@dimen/dp_25"
|
||
|
|
android:paddingRight="10dp"
|
||
|
|
android:paddingBottom="@dimen/dp_2"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="8sp"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintRight_toRightOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|