feat: UI 现代化重构 - 暗黑奢华风格 + Lottie 动画

实施基于 Lottie + Material 3 的暗黑奢华 + 玻璃拟态风格的现代化界面重构

主要变更:
- 配色方案:深邃黑背景 + 皇家紫强调色 + 翡翠绿状态色
- 依赖升级:Lottie 6.3.0 + Material 3 1.11.0 + Blurry 4.0.1
- Lottie 动画:5 个优化的 JSON 动画文件(状态、加载、成功、刷新、空状态)
- 玻璃拟态效果:半透明卡片 + 细腻边框 + 圆角设计
- 布局重构:主页、壁纸预览、相册管理、相册卡片全面重构
- 动画逻辑:HomeFragment 集成 Lottie 状态动画
- 设计规范:统一的尺寸系统(dimens.xml)和 Material 3 暗色主题

技术亮点:
- 暗色主题让壁纸预览更突出
- 玻璃拟态创造深度和层次感
- Lottie 动画文件 < 50KB,性能优化
- Material 3 原生暗色主题支持
- 向后兼容旧的配色引用

文档:docs/ui-modernization-summary.md
This commit is contained in:
hughhuang committed 2026-01-25 14:54:47 +08:00
1 parent 2d98e061cd
commit aa091c047f
22 files changed
+1321 -178

No files matched your search

@@ -5,21 +5,21 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background"
android:background="@color/bg_primary"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="@dimen/spacing_md">
<!-- 标题栏 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginBottom="16dp"
android:layout_marginBottom="@dimen/spacing_lg"
android:orientation="horizontal">
<TextView
@@ -27,7 +27,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="相册管理"
android:textSize="24sp"
android:textSize="@dimen/text_size_xxl"
android:textStyle="bold"
android:textColor="@color/text_primary" />
@@ -36,11 +36,12 @@
android:layout_width="wrap_content"
android:layout_height="48dp"
android:text="+ 新建"
android:textSize="14sp"
android:textSize="@dimen/text_size_sm"
android:backgroundTint="@color/accent_primary"
app:icon="@drawable/ic_add"
app:iconGravity="textStart"
app:cornerRadius="12dp"
style="@style/Widget.Material3.Button.TonalButton" />
app:cornerRadius="@dimen/corner_radius_md"
style="@style/Widget.Material3.Button" />
</LinearLayout>