<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="80dp"
    android:layout_height="52dp">

    <View
        android:id="@+id/selected_tag"
        android:layout_width="0dp"
        android:layout_height="6dp"
        android:layout_marginTop="28dp"
        android:background="@drawable/bg_category_selected_tag"
        android:visibility="gone"
        app:layout_constraintEnd_toEndOf="@id/catalog_name"
        app:layout_constraintStart_toStartOf="@id/catalog_name"
        app:layout_constraintTop_toTopOf="parent"
        tools:visibility="visible" />

    <TextView
        android:id="@+id/catalog_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/text_primary"
        android:textSize="12sp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintWidth_max="0dp"
        tools:text="精选" />

    <ImageView
        android:id="@+id/recommend_tag"
        android:layout_width="16dp"
        android:layout_height="12dp"
        android:layout_marginStart="52dp"
        android:layout_marginTop="16dp"
        android:src="@drawable/ic_recommend"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>
