comp_time_line_sticky_content.xml 2.16 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="wrap_content">

    <com.wd.capability.layout.ui.widget.TimeLineLayout
        android:id="@+id/time_TLL"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBottom="@+id/ll_container"
        android:layout_alignParentTop="true"
        app:sntlResource="@drawable/ic_time_line_red_circle" />


    <LinearLayout
        android:id="@+id/ll_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_toEndOf="@+id/time_TLL"
        android:orientation="vertical">

        <com.wd.foundation.wdkit.view.customtextview.StrokeWidthTextView
            android:id="@+id/tv_time"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/rmrb_dp8"
            android:includeFontPadding="false"
            android:singleLine="true"
            android:textColor="@color/res_color_common_C1"
            android:textSize="@dimen/rmrb_dp14"
            app:text_stroke_width="1.8" />


        <TextView
            android:id="@+id/describe_Tv"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginStart="@dimen/rmrb_dp8"
            android:layout_marginTop="@dimen/rmrb_dp4"
            android:layout_marginRight="@dimen/rmrb_dp12"
            android:layout_weight="1"
            android:ellipsize="end"
            android:gravity="center_vertical"
            android:lineSpacingExtra="@dimen/rmrb_dp3"
            android:maxLines="2"
            android:text=""
            android:textColor="@color/res_color_common_C1"
            android:textSize="@dimen/rmrb_dp18" />


        <View
            android:id="@+id/view_bottom_space"
            android:layout_width="match_parent"
            android:layout_height="@dimen/rmrb_dp20" />
    </LinearLayout>

</RelativeLayout>