feat: 添加壁纸历史记录功能
新增全局壁纸历史记录功能,记录所有使用过的壁纸,支持缩略图展示和系统相册打开。 核心功能: - 自动记录壁纸使用历史(最多保存50条) - 缩略图缓存(保持原图宽高比) - 2列网格布局展示 - 点击历史记录使用系统相册打开 - 支持删除单条记录和清空全部 新增文件: - WallpaperHistory.java - 历史记录数据模型 - WallpaperHistoryManager.java - 历史记录管理器 - WallpaperHistoryFragment.java - 历史页面 - fragment_wallpaper_history.xml - 页面布局 - item_history_card.xml - 卡片项布局 - ic_history.xml - 历史图标 修改文件: - AutoWallpaperService.java - 集成历史记录保存 - ViewPagerAdapter.java - 扩展为5个页面 - MainActivity.java - 更新页面切换范围 - bottom_nav_menu.xml - 添加历史标签 - strings.xml - 添加历史标签文本 - colors.xml - 添加图片占位符颜色 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
20b8f5fc93
commit
62215a9279
13 files changed
+830
-5
No files matched your search
@@ -31,6 +31,7 @@
|
||||
<!-- 卡片颜色 -->
|
||||
<color name="card_background">#FFFFFF</color>
|
||||
<color name="card_stroke">#E0E0E0</color>
|
||||
<color name="image_placeholder">#E0E0E0</color>
|
||||
|
||||
<!-- Launcher icon colors -->
|
||||
<color name="ic_launcher_background">#FF6200EE</color>
|
||||
|
||||
@@ -20,5 +20,6 @@
|
||||
<string name="nav_home">主页</string>
|
||||
<string name="nav_wallpaper">壁纸</string>
|
||||
<string name="nav_albums">相册</string>
|
||||
<string name="nav_history">历史</string>
|
||||
<string name="nav_settings">设置</string>
|
||||
</resources>
|
||||
Reference in new issue
Block a user