2026-01-23 09:15:10 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2026-02-02 12:46:37 +08:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2026-01-23 09:15:10 +08:00
|
|
|
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-02-02 12:46:37 +08:00
|
|
|
android:background="@color/bg_primary">
|
2026-01-23 09:15:10 +08:00
|
|
|
|
2026-02-02 12:46:37 +08:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2026-01-23 09:15:10 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2026-02-02 12:46:37 +08:00
|
|
|
android:background="@android:color/transparent"
|
|
|
|
|
app:elevation="0dp">
|
2026-01-23 09:15:10 +08:00
|
|
|
|
2026-02-02 12:46:37 +08:00
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
2026-01-23 09:15:10 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2026-02-02 12:46:37 +08:00
|
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
2026-01-23 09:15:10 +08:00
|
|
|
|
2026-02-02 12:46:37 +08:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2026-01-23 09:15:10 +08:00
|
|
|
android:layout_height="wrap_content"
|
2026-02-02 12:46:37 +08:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingHorizontal="@dimen/spacing_lg"
|
|
|
|
|
android:paddingTop="32dp"
|
|
|
|
|
android:paddingBottom="@dimen/spacing_md">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="相册管理"
|
|
|
|
|
android:textSize="32sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/text_primary" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:text="管理您的壁纸收藏和播放规则"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textColor="@color/text_secondary" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingHorizontal="@dimen/spacing_md"
|
|
|
|
|
android:paddingBottom="80dp"
|
|
|
|
|
android:clipToPadding="false">
|
2026-01-23 09:15:10 +08:00
|
|
|
|
2026-02-02 12:46:37 +08:00
|
|
|
<!-- Create New Button (Full Width) -->
|
2026-01-23 09:15:10 +08:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/btnCreateAlbum"
|
2026-02-02 12:46:37 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:layout_marginHorizontal="4dp"
|
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
|
android:text="新建相册"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:textStyle="bold"
|
2026-01-23 09:15:10 +08:00
|
|
|
app:icon="@drawable/ic_add"
|
|
|
|
|
app:iconGravity="textStart"
|
2026-02-02 12:46:37 +08:00
|
|
|
app:cornerRadius="28dp"
|
|
|
|
|
app:backgroundTint="@color/accent_primary"
|
2026-01-25 14:54:47 +08:00
|
|
|
style="@style/Widget.Material3.Button" />
|
2026-01-23 09:15:10 +08:00
|
|
|
|
2026-02-02 12:46:37 +08:00
|
|
|
<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" />
|
2026-01-23 09:15:10 +08:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2026-02-02 12:46:37 +08:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|