item_huyou_week_point.xml 2.38 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="36dp"
    tools:ignore="SmallSp,RtlSymmetry,HardcodedText">
    <View
        android:background="#38B3A7"
        android:layout_width="match_parent"
        android:layout_height="1dp"/>

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <TextView
            android:id="@+id/tvName"
            tools:text="正数与负数"
            android:textSize="12sp"
            android:textColor="#333"
            android:gravity="center_vertical"
            android:maxLines="2"
            android:paddingStart="6dp"
            android:layout_weight="135"
            android:layout_width="0dp"
            android:layout_height="match_parent"/>
        <View
            android:background="#38B3A7"
            android:layout_width="1dp"
            android:layout_height="match_parent"/>
        <FrameLayout
            android:paddingStart="4dp"
            android:layout_weight="179"
            android:layout_width="0dp"
            android:layout_height="match_parent">
            <TextView
                android:id="@+id/tvState"
                tools:text="掌握薄弱"
                android:textSize="12sp"
                android:textColor="@color/white"
                android:background="@drawable/shape_radius_2"
                android:backgroundTint="#EA5127"
                android:paddingHorizontal="3dp"
                android:paddingVertical="1dp"
                android:singleLine="true"
                android:layout_gravity="center"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />
        </FrameLayout>
        <View
            android:background="#38B3A7"
            android:layout_width="1dp"
            android:layout_height="match_parent"/>
        <TextView
            android:id="@+id/tvHuyou"
            android:text="-"
            android:textSize="12sp"
            android:textColor="#333"
            android:gravity="center"
            android:layout_width="48dp"
            android:layout_height="match_parent"/>
    </LinearLayout>
</LinearLayout>