comp_big_image_03.xml 4.33 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="wrap_content"
    android:orientation="vertical">

    <ViewStub
        android:id="@+id/cbSelect"
        android:layout_width="@dimen/rmrb_dp20"
        android:layout_height="@dimen/rmrb_dp20"
        android:layout_centerVertical="true"
        android:layout_marginLeft="@dimen/rmrb_dp16"
        android:layout_marginRight="@dimen/rmrb_dp6"
        android:layout="@layout/comp_checkbox"
        android:visibility="gone" />

    <ImageView
        android:id="@+id/topLine"
        android:layout_width="match_parent"
        android:layout_height="@dimen/rmrb_dp0_5"
        android:background="@color/res_color_common_C6"
        android:visibility="gone" />

    <TextView
        android:id="@+id/tvTitle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/topLine"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_marginBottom="@dimen/rmrb_dp10"
        android:layout_toRightOf="@+id/cbSelect"
        android:ellipsize="end"
        android:maxLines="2"
        android:text=""
        android:textColor="@color/res_color_common_C1"
        android:textSize="@dimen/rmrb_dp18" />

    <com.wd.foundation.wdkit.view.RoundCornerImageView
        android:id="@+id/imageView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/tvTitle"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_toRightOf="@+id/cbSelect"
        android:background="@drawable/shape_comp_image_frame_4_t_lr"
        android:scaleType="centerCrop"
        app:leftTopRadius="@dimen/rmrb_dp4"
        app:rightTopRadius="@dimen/rmrb_dp4" />

    <com.view.text.view.TagTextView
        android:id="@+id/tvTag"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/imageView"
        android:layout_alignBottom="@+id/imageView"
        android:maxLines="1"
        android:layout_marginLeft="@dimen/rmrb_dp8"
        android:layout_marginBottom="@dimen/rmrb_dp8"
        android:textColor="@color/res_color_common_C1"
        android:textSize="@dimen/rmrb_dp11"
        tools:text="标签" />

    <com.wd.capability.layout.ui.widget.ItemRecyclerView
        android:id="@+id/contentRv"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/imageView"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_toRightOf="@+id/cbSelect" />

    <androidx.appcompat.widget.LinearLayoutCompat
        android:id="@+id/more_LLC"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/contentRv"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_marginBottom="@dimen/rmrb_dp14"
        android:layout_toRightOf="@+id/cbSelect"
        android:gravity="center"
        android:background="@drawable/shape_corner_f5f5f5_4"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/tvMore"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:paddingVertical="@dimen/rmrb_dp10"
            android:text="@string/component_more"
            android:textColor="@color/res_color_common_C1"
            android:textSize="@dimen/rmrb_dp14" />

        <ImageView
            android:layout_width="@dimen/rmrb_dp16"
            android:layout_height="@dimen/rmrb_dp16"
            android:src="@drawable/icon_comp_more_right_red"/>

    </androidx.appcompat.widget.LinearLayoutCompat>


    <ImageView
        android:id="@+id/bottomLine"
        android:layout_width="match_parent"
        android:layout_height="@dimen/rmrb_dp0_5"
        android:layout_below="@+id/more_LLC"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_toRightOf="@+id/cbSelect"
        android:background="@color/res_color_common_C6" />

</RelativeLayout>