2026-01-23 09:15:10 +08:00
|
|
|
<?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"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2026-01-25 14:54:47 +08:00
|
|
|
android:background="@color/bg_primary"
|
2026-01-23 09:15:10 +08:00
|
|
|
android:fillViewport="true">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2026-01-25 14:54:47 +08:00
|
|
|
android:padding="@dimen/spacing_md">
|
2026-01-23 09:15:10 +08:00
|
|
|
|
|
|
|
|
<!-- 标题栏 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
2026-01-25 14:54:47 +08:00
|
|
|
android:layout_marginBottom="@dimen/spacing_lg"
|
2026-01-23 09:15:10 +08:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="相册管理"
|
2026-01-25 14:54:47 +08:00
|
|
|
android:textSize="@dimen/text_size_xxl"
|
2026-01-23 09:15:10 +08:00
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/text_primary" />
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/btnCreateAlbum"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="48dp"
|
2026-01-25 14:55:47 +08:00
|
|
|
android:text="新建"
|
2026-01-25 14:54:47 +08:00
|
|
|
android:textSize="@dimen/text_size_sm"
|
|
|
|
|
android:backgroundTint="@color/accent_primary"
|
2026-01-23 09:15:10 +08:00
|
|
|
app:icon="@drawable/ic_add"
|
|
|
|
|
app:iconGravity="textStart"
|
2026-01-25 14:54:47 +08:00
|
|
|
app:cornerRadius="@dimen/corner_radius_md"
|
|
|
|
|
style="@style/Widget.Material3.Button" />
|
2026-01-23 09:15:10 +08:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 相册列表 -->
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/rvAlbums"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:nestedScrollingEnabled="false"
|
|
|
|
|
tools:listitem="@layout/item_album_card" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|