2.5 KiB
2.5 KiB
INBOX
[已处理] K62-A 提交安卓桌面图标资源改造
背景
安卓桌面图标此前使用「奶油色底 + 前景缩到 72% + inset 16%」的自适应图标配置,与设计源图
assets/icon/fruitshorts.png(橙渐变 + 满版果篮 + 播放按钮)观感差距大:颜色发淡、元素偏小。
已在本机重做全部图标资源并完成真机验证(应用信息页图标完整无裁切)。
当前工作区改动(ReelShort 仓库,develop 分支,未提交)
修改:
android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.pngandroid/app/src/main/res/drawable-hdpi/ic_launcher_foreground.pngandroid/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.pngandroid/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.pngandroid/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.pngandroid/app/src/main/res/mipmap-mdpi/ic_launcher.pngandroid/app/src/main/res/mipmap-hdpi/ic_launcher.pngandroid/app/src/main/res/mipmap-xhdpi/ic_launcher.pngandroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.pngandroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.pngandroid/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
新增:
android/app/src/main/res/mipmap-mdpi/ic_launcher_background.pngandroid/app/src/main/res/mipmap-hdpi/ic_launcher_background.pngandroid/app/src/main/res/mipmap-xhdpi/ic_launcher_background.pngandroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.pngandroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
ic_launcher.xml 目标内容:
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
任务
- 从
develop拉分支fix/android-launcher-icon(当前工作区改动保留,直接带入分支)。 - 只提交上述 16 个资源文件,禁止
git add -A,禁止改动其它文件。 - 提交信息:
fix(android): 按设计源图重做桌面图标资源。 - 门禁:
dart analyze lib test、flutter test、flutter build apk --debug全部通过。 --no-ff合并回develop并 push。- 在
FruitServer/docs/plans/PROGRESS.md留痕:分支名、commit、门禁结果。
约束
- 全程中文;作者
Zhou Weidong <502333560@qq.com>。 - 不改 Dart 代码、不改其它资源。
- 完成后停住,等待验收。