comp_single_row_05.xml 4.98 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">

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


    <androidx.appcompat.widget.LinearLayoutCompat
        android:id="@+id/top_more_three"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="@dimen/rmrb_dp6"
        android:gravity="center_vertical"
        android:orientation="horizontal"
        android:paddingHorizontal="@dimen/rmrb_dp10"
        android:paddingTop="@dimen/rmrb_dp14"
        android:paddingBottom="@dimen/rmrb_dp14"
        tools:ignore="MissingDefaultResource">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:orientation="vertical">

            <com.wd.capability.layout.ui.widget.TagStokeWidthTextView
                android:id="@+id/tvTitle"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:maxLines="1"
                android:text="@string/comp_rmh_xingqu_title"
                android:textColor="@color/res_color_general_000000"
                android:textSize="@dimen/rmrb_dp18"
                app:stokeWidth="0.9" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/rmrb_dp4"
                android:text="@string/comp_single_row_xingqu_txt"
                android:textColor="@color/res_color_common_C4"
                android:textSize="@dimen/rmrb_dp12" />

        </LinearLayout>


        <com.wd.capability.layout.ui.widget.TagStokeWidthTextView
            android:id="@+id/tvSelected"
            android:layout_width="@dimen/rmrb_dp62"
            android:layout_height="@dimen/rmrb_dp26"
            android:background="@drawable/shape_corner_f9f9f9_3"
            android:gravity="center"
            android:text="@string/comp_single_row_xingqu_txt1"
            android:textColor="@color/res_color_common_C5"
            android:textSize="@dimen/rmrb_dp14"
            app:stokeWidth="0.9" />

    </androidx.appcompat.widget.LinearLayoutCompat>

    <com.wd.capability.layout.ui.widget.flow.FlowLayout
        android:id="@+id/flTab"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_marginBottom="@dimen/rmrb_dp10"
        app:flow_horizontal_spaceing="@dimen/rmrb_dp6"
        app:flow_vertical_spaceing="@dimen/rmrb_dp6" />

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="@dimen/rmrb_dp16"
        android:layout_marginBottom="@dimen/rmrb_dp14">

        <TextView
            android:id="@+id/tvChangeData"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingRight="@dimen/rmrb_dp4"
            android:text="@string/res_comp_exchange"
            android:textColor="@color/res_color_common_C11"
            android:textSize="@dimen/rmrb_dp14"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <ImageView
            android:id="@+id/ivChangeData"
            android:layout_width="@dimen/rmrb_dp14"
            android:layout_height="@dimen/rmrb_dp14"
            android:src="@mipmap/icon_comp_change_data_xingqu"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintLeft_toRightOf="@+id/tvChangeData"
            app:layout_constraintTop_toTopOf="parent" />

        <ImageView
            android:id="@+id/tvMoreImg"
            android:layout_width="@dimen/rmrb_dp18"
            android:layout_height="@dimen/rmrb_dp14"
            android:src="@mipmap/comp_close_xingqu"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintRight_toRightOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

    </androidx.constraintlayout.widget.ConstraintLayout>

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

</androidx.appcompat.widget.LinearLayoutCompat>