<?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:id="@+id/layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingStart="18dp"
    android:paddingEnd="18dp">


    <androidx.cardview.widget.CardView
        android:id="@+id/like_card"
        android:layout_width="match_parent"
        android:layout_height="220dp"
        android:layout_marginTop="4dp"
        android:layout_marginBottom="16dp"
        app:cardCornerRadius="16dp"
        app:cardElevation="6dp"
        app:cardPreventCornerOverlap="true">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@drawable/future_float_card_123">

            <!-- 壁纸图片 -->
            <ImageView
                android:id="@+id/wallpaper"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:scaleType="centerCrop"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintBottom_toBottomOf="parent" />

            <!-- 顶部装饰 -->
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_margin="12dp"
                android:orientation="horizontal"
                android:gravity="center_vertical"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintStart_toStartOf="parent">

                <View
                    android:layout_width="2dp"
                    android:layout_height="20dp"
                    android:background="@drawable/future_accent"
                    android:alpha="0.7"/>

                <View
                    android:layout_width="20dp"
                    android:layout_height="2dp"
                    android:layout_marginStart="2dp"
                    android:background="@drawable/future_accent"
                    android:alpha="0.7"/>

            </LinearLayout>

            <!-- 底部渐变遮罩 -->
            <View
                android:layout_width="match_parent"
                android:layout_height="60dp"
                android:background="@drawable/rect_162"
                app:layout_constraintBottom_toBottomOf="parent"/>

            <!-- 收藏按钮 - 小条样式 -->
            <LinearLayout
                android:id="@+id/image_favorite"
                android:layout_width="28dp"
                android:layout_height="24dp"
                android:layout_margin="12dp"
                android:orientation="horizontal"
                android:gravity="center_vertical|start"
                android:background="@drawable/favorite_shadow"
                android:paddingStart="6dp"
                android:paddingEnd="4dp"
                android:clickable="true"
                android:focusable="true"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintBottom_toBottomOf="parent">

                <!-- 心形图标 -->
                <ImageView
                    android:id="@+id/favorite_icon"
                    android:layout_width="18dp"
                    android:layout_height="18dp"
                    android:src="@drawable/selector_favorite"
                    android:scaleType="fitCenter"
                    app:tint="@color/favorite_true" />

            </LinearLayout>

        </androidx.constraintlayout.widget.ConstraintLayout>

    </androidx.cardview.widget.CardView>

    <View
        android:id="@+id/space_view"
        android:layout_width="match_parent"
        android:layout_height="80dp"
        android:layout_below="@id/like_card" />
</RelativeLayout>