comp_manuscript_style_content_04.xml 3.61 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat 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="wrap_content"
    android:orientation="vertical">

    <com.view.text.view.TagTextView
        android:id="@+id/tvTitle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:ellipsize="end"
        android:lineSpacingMultiplier="1.1"
        android:maxLines="3"
        android:textColor="@color/res_color_common_C1"
        android:textSize="@dimen/rmrb_dp18" />

    <com.wd.component.ui.widget.ItemRecyclerView
        android:id="@+id/imageRv"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/rmrb_dp8" />

    <!-- 动态图文卡-人民号 单图使用这个布局-->
    <FrameLayout
        android:id="@+id/flOnlyOneImage"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/rmrb_dp8"
        android:background="@drawable/shape_comp_image_frame_4"
        android:visibility="gone">

        <com.wd.foundation.wdkit.view.RoundCornerImageView
            android:id="@+id/onlyOneImage"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:scaleType="centerCrop"
            android:src="@drawable/rmrb_placeholder_compe_all"
            app:leftBottomRadius="@dimen/rmrb_dp4"
            app:leftTopRadius="@dimen/rmrb_dp4"
            app:rightBottomRadius="@dimen/rmrb_dp4"
            app:rightTopRadius="@dimen/rmrb_dp4" />
        <View
            android:id="@+id/flContent04Image"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@drawable/shape_comp_image_frame_4" />

        <LinearLayout
            android:id="@+id/ll_long_img_tag"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/rmrb_dp18"
            android:layout_gravity="right|bottom"
            android:layout_margin="@dimen/rmrb_dp8"
            android:orientation="horizontal"
            android:paddingHorizontal="@dimen/rmrb_dp3"
            android:paddingVertical="@dimen/rmrb_dp2"
            android:visibility="invisible">

            <ImageView
                android:id="@+id/longImageTag"
                android:layout_width="@dimen/rmrb_dp14"
                android:layout_height="@dimen/rmrb_dp14"
                android:layout_marginTop="@dimen/rmrb_dp0_5"
                android:scaleType="fitXY"
                android:src="@mipmap/long_img_tag_icon" />

            <TextView
                android:id="@+id/tvLongImageTag"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/rmrb_dp2"
                android:text="长图"
                android:textColor="@color/res_color_C1"
                android:textSize="@dimen/rmrb_dp11" />
        </LinearLayout>
    </FrameLayout>

    <include
        layout="@layout/comp_common_from_data"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/rmrb_dp8" />


    <include
        layout="@layout/item_adv_common_bottom"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:visibility="gone" />

</androidx.appcompat.widget.LinearLayoutCompat>