dialog_ablum.xml 3.26 KB
<?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:id="@+id/clRoot"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/clDialogRoot"
        android:layout_width="match_parent"
        android:layout_height="@dimen/rmrb_dp554"
        android:background="@color/res_color_general_161616"
        app:layout_constraintBottom_toBottomOf="parent">

        <TextView
            android:id="@+id/tvTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/rmrb_dp16"
            android:layout_marginTop="@dimen/rmrb_dp14"
            android:textColor="#ffffffff"
            android:textSize="@dimen/rmrb_dp16"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <ImageView
            android:id="@+id/ivClose"
            android:layout_width="@dimen/rmrb_dp24"
            android:layout_height="@dimen/rmrb_dp24"
            android:layout_marginEnd="@dimen/rmrb_dp16"
            android:src="@mipmap/ic_description_dialog_close"
            app:layout_constraintBottom_toBottomOf="@+id/tvTitle"
            app:layout_constraintRight_toRightOf="parent"
            app:layout_constraintTop_toTopOf="@+id/tvTitle" />

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/rvAlbumList"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            tools:listitem="@layout/item_ablum"
            android:layout_marginTop="@dimen/dp_10"
            android:layout_marginBottom="@dimen/rmrb_dp26"
            app:layout_constraintTop_toBottomOf="@+id/tvTitle"
            app:layout_constraintBottom_toTopOf="@+id/llCollect"/>

        <LinearLayout
            android:id="@+id/llCollect"
            android:layout_width="match_parent"
            android:layout_height="@dimen/rmrb_dp44"
            android:layout_marginStart="@dimen/rmrb_dp16"
            android:layout_marginEnd="@dimen/rmrb_dp16"
            android:layout_marginBottom="@dimen/rmrb_dp28"
            android:background="#262626"
            android:gravity="center"
            app:layout_constraintBottom_toBottomOf="parent">

            <ImageView
                android:layout_width="@dimen/rmrb_dp20"
                android:layout_height="@dimen/rmrb_dp20"
                android:src="@mipmap/ic_ablum_collect_unselect" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/rmrb_dp2"
                android:gravity="center"
                android:text="收藏合集"
                android:textColor="#ffffffff"
                android:textSize="@dimen/rmrb_dp16"
                app:layout_constraintBottom_toBottomOf="parent" />

        </LinearLayout>

    </androidx.constraintlayout.widget.ConstraintLayout>

</androidx.constraintlayout.widget.ConstraintLayout>