comp_manuscript_style_content_02.xml 4.15 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">

    <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="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_marginTop="@dimen/rmrb_dp8">

        <FrameLayout
            android:id="@+id/player_container"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:visibility="gone" />

        <RelativeLayout
            android:id="@+id/rlVideoImage"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <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="@dimen/rmrb_dp4"
                app:leftTopRadius="@dimen/rmrb_dp4"
                app:rightBottomRadius="@dimen/rmrb_dp4"
                app:rightTopRadius="@dimen/rmrb_dp4" />
            <!--图片框子-->
            <View
                android:id="@+id/flImage"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@drawable/shape_comp_image_frame_4" />

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

        <!--  流量提醒  -->
        <LinearLayout
            android:id="@+id/llNetChange"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/shape_ellipse_50_gray_4"
            android:gravity="center"
            android:orientation="vertical"
            android:visibility="gone"
            tools:visibility="gone">

            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_horizontal"
                android:text="正在使用非Wi-Fi网络,播放将产生流量费用"
                android:textColor="@color/white"
                android:textSize="@dimen/rmrb_dp14" />

            <TextView
                android:id="@+id/tvTrafficPlay"
                android:layout_width="@dimen/rmrb_dp88"
                android:layout_height="@dimen/rmrb_dp28"
                android:layout_marginTop="@dimen/rmrb_dp16"
                android:background="@drawable/bg_traffic_play_btn"
                android:gravity="center"
                android:text="使用流量播放"
                android:textColor="@color/white"
                android:textSize="@dimen/rmrb_dp12" />

        </LinearLayout>

    </RelativeLayout>

    <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>