<?xml version="1.0" encoding="utf-8"?>
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/widgetItemLike"
    android:layout_width="wrap_content"
    android:layout_height="28dp"
    android:visibility="visible"
    app:backgroundColorToken="@string/color_surface_element_dark_normal"
    app:radiusToken="@string/radius_round">

    <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
        android:id="@+id/widgetItemLikeIcon"
        android:layout_width="28dp"
        android:layout_height="28dp"
        android:layout_marginStart="2dp"
        android:gravity="center"
        android:text="@string/icon_like"
        android:textSize="16sp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:onlyIconFont="true"
        />

    <com.airbnb.lottie.LottieAnimationView
        android:id="@+id/widgetItemLottieLike"
        android:layout_width="28dp"
        android:layout_height="28dp"
        android:layout_marginStart="4dp"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:lottie_autoPlay="false"
        app:lottie_loop="false"
        app:lottie_rawRes="@raw/like"
        app:lottie_repeatMode="restart" />

    <androidx.constraintlayout.widget.Barrier
        android:id="@+id/barrier"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:barrierDirection="end"
        app:constraint_referenced_ids="widgetItemLottieLike,widgetItemLikeIcon" />

    <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
        android:id="@+id/widgetItemAlbumLikeNum"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="8dp"
        android:gravity="center"
        android:minWidth="10dp"
        android:text="0"
        app:layout_constraintBottom_toBottomOf="@+id/widgetItemLikeIcon"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@+id/barrier"
        app:layout_constraintTop_toTopOf="@+id/widgetItemLikeIcon"
        app:textColorToken="@string/color_txt_primary_normal"
        app:textToken="@string/txt_label_m" />

</com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>
