comp_manuscript_style_content_06.xml 5.84 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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <com.wd.common.widget.RoundCornerImageView
            android:id="@+id/imageView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/shape_comp_image_frame_4_t_lr"
            android:scaleType="fitCenter"
            app:leftTopRadius="@dimen/rmrb_dp4"
            app:rightTopRadius="@dimen/rmrb_dp4"
            tools:background="@color/blue_theme_bg"
            tools:layout_height="@dimen/rmrb_dp200" />


        <include
            layout="@layout/comp_common_image_tag"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignRight="@+id/imageView"
            android:layout_alignBottom="@+id/imageView"
            android:layout_marginRight="@dimen/rmrb_dp8"
            android:layout_marginBottom="@dimen/rmrb_dp8" />

    </RelativeLayout>

    <com.view.text.view.TagTextView
        android:id="@+id/tvTitle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/res_color_common_C8"
        android:ellipsize="end"
        android:lineSpacingMultiplier="1.1"
        android:maxLines="2"
        android:paddingLeft="@dimen/rmrb_dp12"
        android:paddingTop="@dimen/rmrb_dp8"
        android:paddingRight="@dimen/rmrb_dp12"
        android:paddingBottom="@dimen/rmrb_dp12"
        android:textColor="@color/res_color_common_C1"
        android:textSize="@dimen/rmrb_dp17"
        tools:text="这个观测平台,在“有风的地方”|寻访最美气象台站" />

    <RelativeLayout
        android:id="@+id/rlbtm"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:paddingLeft="@dimen/rmrb_dp12"
        android:paddingRight="@dimen/rmrb_dp12"
        android:paddingBottom="@dimen/rmrb_dp12"
        tools:background="@color/res_color_common_C8">

        <LinearLayout
            android:id="@+id/lltime"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/rmrb_dp24"
            android:orientation="horizontal"
            android:paddingLeft="@dimen/rmrb_dp10"
            android:paddingTop="@dimen/rmrb_dp2"
            android:paddingRight="@dimen/rmrb_dp10"
            android:paddingBottom="@dimen/rmrb_dp2">

            <ImageView
                android:id="@+id/iv_live_book"
                android:layout_width="@dimen/rmrb_dp20"
                android:layout_height="@dimen/rmrb_dp20"
                android:layout_gravity="center_vertical"
                android:layout_marginRight="@dimen/rmrb_dp6"
                android:src="@mipmap/icon_subscribe_list" />
            <!-- #ED2800 #999999-->
            <com.wd.common.widget.StrokeWidthTextView
                android:id="@+id/tvdescribe"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:textColor="@color/res_color_common_C11"
                android:textSize="@dimen/rmrb_dp12"
                tools:text="今日" />

            <ImageView
                android:id="@+id/graySporadic_Iv"
                android:layout_width="@dimen/rmrb_dp4"
                android:layout_height="@dimen/rmrb_dp16"
                android:layout_gravity="center_vertical"
                android:layout_marginLeft="@dimen/rmrb_dp3"
                android:layout_marginRight="@dimen/rmrb_dp3"
                android:src="@drawable/icon_red_sporadic" />

            <com.wd.foundation.wdkit.view.customtextview.StrokeWidthTextView
                android:id="@+id/tvdescriberight"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:textColor="@color/res_color_common_C11"
                android:textSize="@dimen/rmrb_dp12"
                tools:text="17:00开始" />

        </LinearLayout>


        <!-- #FFFFFF   -->

        <FrameLayout
            android:id="@+id/flReserveBtn"
            android:layout_width="@dimen/rmrb_dp52"
            android:layout_height="@dimen/rmrb_dp24"
            android:layout_alignParentRight="true"
            android:background="@drawable/shape_bag_red_radious3">


            <com.airbnb.lottie.LottieAnimationView
                android:id="@+id/lanLoading"
                android:layout_width="@dimen/rmrb_dp16"
                android:layout_height="@dimen/rmrb_dp16"
                android:layout_gravity="center"
                android:visibility="gone"
                app:lottie_autoPlay="false"
                app:lottie_fileName="login_loading.json"
                app:lottie_loop="true" />

            <TextView
                android:id="@+id/reserveBtn"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:layout_gravity="center"
                android:maxLines="1"
                android:textColor="@color/res_color_common_C8_keep"
                android:textFontWeight="600"
                android:textSize="@dimen/rmrb_dp12"
                tools:text="预约" />
        </FrameLayout>

    </RelativeLayout>

</androidx.appcompat.widget.LinearLayoutCompat>