2025-09-22 18:56:13 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<layout 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">
|
|
|
|
|
|
|
|
|
|
<data>
|
|
|
|
|
|
|
|
|
|
</data>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingTop="@dimen/dp_112"
|
|
|
|
|
tools:background="@color/color_FF666666"
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingBottom="10dp">
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/view_top2"
|
|
|
|
|
android:layout_width="@dimen/dp_70"
|
|
|
|
|
android:layout_height="@dimen/dp_70"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_44"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/view_top1"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="spread"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/view_top1" />
|
|
|
|
|
|
|
|
|
|
<com.xscm.moduleutil.widget.GifAvatarOvalView
|
|
|
|
|
android:id="@+id/room_rank_top2_headIcon"
|
|
|
|
|
android:layout_width="@dimen/dp_58"
|
|
|
|
|
android:layout_height="@dimen/dp_58"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintVertical_bias="0.9"
|
|
|
|
|
app:riv_oval="true" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="@dimen/dp_63"
|
|
|
|
|
android:layout_height="@dimen/dp_63"
|
|
|
|
|
android:background="@mipmap/rank_im_t2"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/view_top2" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/zt"
|
|
|
|
|
android:layout_width="@dimen/dp_32"
|
|
|
|
|
android:layout_height="@dimen/dp_13"
|
|
|
|
|
android:background="@mipmap/room_status"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top2"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/room_top2_name"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:textColor="@color/color_white"
|
|
|
|
|
android:textSize="@dimen/sp_10"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/view_top2"
|
|
|
|
|
tools:text="sdfdfgfg" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/room_head_top2_label"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="34dp"
|
|
|
|
|
android:drawableStart="@mipmap/rank_h"
|
|
|
|
|
android:drawablePadding="@dimen/dp_4"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/sp_9"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/ll_vip2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/room_top2_name"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/ll_vip2"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/ll_vip2"
|
|
|
|
|
tools:text="00000" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/view_top1"
|
|
|
|
|
android:layout_width="@dimen/dp_64"
|
|
|
|
|
android:layout_height="@dimen/dp_64"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/view_top3"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_24"/>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/view_top3"
|
|
|
|
|
android:layout_width="@dimen/dp_51"
|
|
|
|
|
android:layout_height="@dimen/dp_51"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_44"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/view_top1" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.xscm.moduleutil.widget.GifAvatarOvalView
|
|
|
|
|
android:id="@+id/room_rank_top1_headIcon"
|
|
|
|
|
android:layout_width="@dimen/dp_67"
|
|
|
|
|
android:layout_height="@dimen/dp_67"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintVertical_bias="0.9"
|
|
|
|
|
app:riv_oval="true" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="@dimen/dp_80"
|
|
|
|
|
android:layout_height="@dimen/dp_80"
|
|
|
|
|
android:background="@mipmap/rank_im_t1"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/view_top1" />
|
|
|
|
|
|
|
|
|
|
<com.xscm.moduleutil.widget.GifAvatarOvalView
|
|
|
|
|
android:id="@+id/room_rank_top3_headIcon"
|
|
|
|
|
android:layout_width="@dimen/dp_55"
|
|
|
|
|
android:layout_height="@dimen/dp_55"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintVertical_bias="0.9"
|
|
|
|
|
app:riv_oval="true" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="@dimen/dp_65"
|
|
|
|
|
android:layout_height="@dimen/dp_65"
|
|
|
|
|
android:background="@mipmap/rank_im_t3"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/view_top3" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.xscm.moduleutil.widget.BeautifulNameView
|
|
|
|
|
android:id="@+id/bnv_second"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/room_top2_name"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/room_top1_name"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:maxLength="6"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:textColor="@color/color_white"
|
|
|
|
|
android:textSize="@dimen/sp_10"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/view_top1"
|
|
|
|
|
tools:text="sdfdfgfg" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/room_head_top1_label"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="43dp"
|
|
|
|
|
android:drawableStart="@mipmap/rank_h"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/sp_9"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/view_top1"
|
2025-09-24 17:19:02 +08:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ll_vip1"
|
2025-09-22 18:56:13 +08:00
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/ll_vip1"
|
|
|
|
|
tools:text="00000" />
|
|
|
|
|
|
|
|
|
|
<com.xscm.moduleutil.widget.BeautifulNameView
|
|
|
|
|
android:id="@+id/bnv_first"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/room_top1_name"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/room_top3_name"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:maxLength="6"
|
|
|
|
|
android:maxLines="1"
|
|
|
|
|
android:textColor="@color/color_white"
|
|
|
|
|
android:textSize="@dimen/sp_10"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/view_top3"
|
|
|
|
|
tools:text="sdfdfgfg" />
|
|
|
|
|
|
|
|
|
|
<com.xscm.moduleutil.widget.BeautifulNameView
|
|
|
|
|
android:id="@+id/bnv_third"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/room_top3_name"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
|
|
|
|
android:layout_width="@dimen/dp_32"
|
|
|
|
|
android:layout_height="@dimen/dp_13"
|
|
|
|
|
android:background="@mipmap/room_status"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top1"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="@dimen/dp_32"
|
|
|
|
|
android:layout_height="@dimen/dp_13"
|
|
|
|
|
android:background="@mipmap/room_status"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top3"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/room_head_top3_label"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="64dp"
|
|
|
|
|
android:drawableStart="@mipmap/rank_h"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/sp_9"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/view_top3"
|
2025-09-24 17:19:02 +08:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ll_vip3"
|
2025-09-22 18:56:13 +08:00
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top3"
|
|
|
|
|
tools:text="00000" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_vip2"
|
|
|
|
|
android:layout_width="wrap_content"
|
2025-09-24 17:19:02 +08:00
|
|
|
android:layout_height="wrap_content"
|
2025-09-22 18:56:13 +08:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/bnv_second">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/room_top2_grade"
|
|
|
|
|
android:layout_width="31dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/room_top2_label"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_vip1"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="@dimen/dp_16"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top1"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/bnv_first">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/room_top1_grade"
|
|
|
|
|
android:layout_width="31dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/room_top1_label"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ll_vip3"
|
|
|
|
|
android:layout_width="wrap_content"
|
2025-09-24 17:19:02 +08:00
|
|
|
android:layout_height="wrap_content"
|
2025-09-22 18:56:13 +08:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/view_top3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/bnv_third">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/room_top3_grade"
|
|
|
|
|
android:layout_width="31dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/room_top3_label"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.xscm.moduleutil.widget.RankRecycleView
|
|
|
|
|
android:id="@+id/rankRecycleView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:overScrollMode="never"
|
|
|
|
|
tools:listitem="@layout/room_rv_item_ranking_rich">
|
|
|
|
|
|
|
|
|
|
</com.xscm.moduleutil.widget.RankRecycleView>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</layout>
|