layout_dialog_ablum_tile.xml 4.9 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:layout_width="match_parent"
    android:layout_height="match_parent"
    android:visibility="gone"
    tools:visibility="visible"
    xmlns:tools="http://schemas.android.com/tools">

    <View
        android:id="@+id/vBlank"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toTopOf="@+id/clDialog"/>

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

        <LinearLayout
            android:id="@+id/llTitle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/rmrb_dp16"
            android:layout_marginEnd="@dimen/rmrb_dp16"
            app:layout_constraintTop_toTopOf="parent"
            android:layout_marginTop="@dimen/rmrb_dp14"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <LinearLayout
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:layout_marginEnd="@dimen/rmrb_dp16"
                android:orientation="horizontal">

                <TextView
                    android:id="@+id/tvTitle"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:maxLines="1"
                    android:ellipsize="end"
                    tools:text="感受山间视频征集活动感受山间视频征集活动"
                    android:textColor="#ffffffff"
                    android:textSize="@dimen/rmrb_dp16" />

                <TextView
                    android:id="@+id/tvCount"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    tools:text="(999)"
                    android:textColor="#ffffffff"
                    android:textSize="@dimen/rmrb_dp16" />

            </LinearLayout>

            <ImageView
                android:id="@+id/ivClose"
                android:layout_width="@dimen/rmrb_dp24"
                android:layout_height="@dimen/rmrb_dp24"
                android:src="@mipmap/ic_description_dialog_close" />

        </LinearLayout>

        <com.wd.foundation.wdkit.view.CustomSmartRefreshLayout
            android:id="@+id/refreshLayout"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_marginVertical="@dimen/rmrb_dp10"
            app:layout_constraintBottom_toTopOf="@+id/llCollect"
            app:layout_constraintTop_toBottomOf="@+id/llTitle"
            app:srlReboundDuration="400">

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

        </com.wd.foundation.wdkit.view.CustomSmartRefreshLayout>

        <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:id="@+id/tvCollectionAlbum"
                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>