83 lines
3.2 KiB
XML
83 lines
3.2 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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="@dimen/dp_6">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/ll"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_120"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/iv_follow_bg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:src="@mipmap/default_avatar"
|
|
app:riv_corner_radius="@dimen/dp_10"
|
|
/>
|
|
|
|
<!-- <com.makeramen.roundedimageview.RoundedImageView-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="match_parent"-->
|
|
<!-- android:background="@drawable/bg_r11_with"-->
|
|
<!-- android:scaleType="fitCenter"-->
|
|
<!-- app:riv_corner_radius="@dimen/dp_11" />-->
|
|
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_play"
|
|
android:layout_width="@dimen/dp_17"
|
|
android:layout_height="@dimen/dp_11"
|
|
android:layout_marginStart="@dimen/dp_8"
|
|
android:layout_marginTop="@dimen/dp_8"
|
|
android:src="@drawable/phonetic"
|
|
app:layout_constraintStart_toStartOf="@id/ll"
|
|
app:layout_constraintTop_toTopOf="@id/ll" />
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_tags"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_20"
|
|
android:layout_gravity="center"
|
|
android:layout_marginStart="@dimen/dp_9"
|
|
android:layout_marginBottom="@dimen/dp_9"
|
|
app:layout_constraintBottom_toBottomOf="@+id/ll"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
tools:listitem="@layout/index_item_image" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_num"
|
|
android:layout_width="@dimen/dp_32"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:layout_marginEnd="@dimen/dp_9"
|
|
android:layout_marginBottom="@dimen/dp_9"
|
|
android:gravity="center"
|
|
android:drawableLeft="@mipmap/ren"
|
|
android:text="200人"
|
|
android:textColor="@color/color_FFFFF0F0"
|
|
android:textSize="@dimen/sp_12"
|
|
app:layout_constraintBottom_toBottomOf="@+id/ll"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<!-- </LinearLayout>-->
|
|
|
|
<TextView
|
|
android:id="@+id/tv_room_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:gravity="center"
|
|
android:textColor="#F1ECFF"
|
|
android:textSize="@dimen/sp_12"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/ll"
|
|
tools:text="标题" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |