comp_banner_02_adpter_item.xml 2.84 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"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools">

    <FrameLayout
        android:id="@+id/flImage"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <!--        <ImageView-->
        <!--            android:id="@+id/imageView"-->
        <!--            android:layout_width="match_parent"-->
        <!--            android:layout_height="wrap_content"-->
        <!--            android:background="@drawable/shape_comp_image_frame_4"-->
        <!--            android:scaleType="fitCenter"/>-->
        <com.wd.foundation.wdkit.view.RoundCornerImageView
            android:id="@+id/imageView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:scaleType="centerCrop"/>

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



    </FrameLayout>

    <!--    <View-->
    <!--        android:layout_width="match_parent"-->
    <!--        android:layout_height="@dimen/rmrb_dp94"-->
    <!--        android:background="@drawable/shape_gradient_white"-->
    <!--        android:layout_alignParentBottom="true"/>-->

    <com.wd.capability.layout.ui.widget.TagStokeWidthTextView
        android:id="@+id/tvTitle"
        android:layout_width="match_parent"
        android:layout_height="@dimen/rmrb_dp94"
        android:layout_alignParentBottom="true"
        android:background="@drawable/shape_gradient_white"
        android:ellipsize="end"
        android:gravity="bottom"
        android:maxLines="2"
        android:paddingHorizontal="@dimen/rmrb_dp12"
        android:paddingBottom="@dimen/rmrb_dp26"
        android:textColor="@color/white"
        android:textSize="@dimen/rmrb_dp18"
        android:textStyle="bold" />

    <!--    <include-->
    <!--        layout="@layout/comp_common_from_data"-->
    <!--        android:layout_width="match_parent"-->
    <!--        android:layout_height="wrap_content"-->
    <!--        android:layout_alignParentBottom="true"-->
    <!--      />-->

    <!--    <include-->
    <!--        layout="@layout/comp_common_image_tag"-->
    <!--        android:layout_width="wrap_content"-->
    <!--        android:layout_height="wrap_content"-->
    <!--        android:layout_alignBottom="@+id/flImage"-->
    <!--        android:layout_marginLeft="@dimen/rmrb_dp6"-->
    <!--        android:layout_marginBottom="@dimen/rmrb_dp6" />-->

</RelativeLayout>