<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/future_tech_white"
    android:fillViewport="true">

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

        <!-- 顶部标题 -->
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:paddingStart="16dp"
            android:paddingTop="12dp"
            android:paddingEnd="16dp"
            android:paddingBottom="16dp"
            android:background="@color/future_tech_white">

            <com.app.input.personalised.board.helpers.FontTextView
                android:id="@+id/tv_my_title"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/my_title"
                android:textColor="@color/future_tech_text_primary"
                android:textSize="24sp"
                android:textStyle="bold"
                app:apply_font="true" />

        </LinearLayout>

        <!-- 收藏卡片列表 -->
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/favorite_card_recycler"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingTop="8dp"
            android:paddingBottom="8dp"
            android:nestedScrollingEnabled="false" />

        <!-- 空状态提示 -->
        <com.app.input.personalised.board.helpers.FontTextView
            android:id="@+id/empty_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="50dp"
            android:text="@string/no_like"
            android:textColor="@color/future_tech_text_secondary"
            android:textSize="16sp"
            android:visibility="gone"
            app:apply_font="true" />

        <!-- 关于 -->
        <androidx.cardview.widget.CardView
            android:id="@+id/layout_about"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="16dp"
            android:layout_marginTop="24dp"
            android:layout_marginEnd="16dp"
            android:layout_marginBottom="24dp"
            android:clickable="true"
            android:focusable="true"
            app:cardCornerRadius="12dp"
            app:cardElevation="2dp"
            app:cardBackgroundColor="@color/future_tech_white">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:paddingStart="20dp"
                android:paddingTop="20dp"
                android:paddingEnd="20dp"
                android:paddingBottom="20dp">

                <!-- About 标题 -->
                <com.app.input.personalised.board.helpers.FontTextView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="@string/about"
                    android:textColor="@color/future_tech_text_primary"
                    android:textSize="18sp"
                    android:textStyle="bold"
                    android:paddingBottom="16dp"
                    app:apply_font="true" />

                <!-- 分隔线 -->
                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="@color/future_tech_border"
                    android:layout_marginBottom="16dp" />

                <!-- Version 作为子项，与 About 对齐 -->
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:gravity="center_vertical">

                    <com.app.input.personalised.board.helpers.FontTextView
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:text="@string/version"
                        android:textColor="@color/future_tech_text_secondary"
                        android:textSize="15sp"
                        app:apply_font="true" />

                    <com.app.input.personalised.board.helpers.FontTextView
                        android:id="@+id/tv_version"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="1.0"
                        android:textColor="@color/future_tech_text_secondary"
                        android:textSize="15sp"
                        app:apply_font="true" />

                </LinearLayout>

            </LinearLayout>

        </androidx.cardview.widget.CardView>

    </LinearLayout>

</androidx.core.widget.NestedScrollView>
