comp_manuscript_style_content_10.xml 3.95 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"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical">

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

    <TextView
        android:id="@+id/title_BTV"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_marginTop="@dimen/rmrb_dp14"
        android:layout_marginBottom="@dimen/rmrb_dp10"
        android:ellipsize="end"
        android:lineSpacingMultiplier="1.1"
        android:maxLines="2"
        android:textColor="@color/res_color_common_C1"
        android:textSize="@dimen/rmrb_dp18" />

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_marginBottom="@dimen/rmrb_dp18">

        <com.wd.foundation.wdkit.view.RoundCornerImageView
            android:id="@+id/imageView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:scaleType="centerCrop"
            app:leftBottomRadius="0dp"
            app:leftTopRadius="@dimen/rmrb_dp4"
            app:rightBottomRadius="0dp"
            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="标签" />

    </RelativeLayout>

    <com.wd.capability.layout.ui.widget.ItemRecyclerView
        android:id="@+id/content_Rv"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginHorizontal="@dimen/rmrb_dp16" />


    <androidx.appcompat.widget.LinearLayoutCompat
        android:id="@+id/more_LLC"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_marginTop="@dimen/rmrb_dp14"
        android:layout_marginBottom="@dimen/rmrb_dp14"
        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_marginHorizontal="@dimen/rmrb_dp16"
        android:background="@color/res_color_common_C6" />
</androidx.appcompat.widget.LinearLayoutCompat>