Files
FruitServer/docs/plans/INBOX.md
T

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.png
  • android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
  • android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
  • android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
  • android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
  • android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  • android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  • android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  • android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  • android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  • android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

新增:

  • android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
  • android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
  • android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png
  • android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png
  • android/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>

任务

  1. 从 develop 拉分支 fix/android-launcher-icon(当前工作区改动保留,直接带入分支)。
  2. 只提交上述 16 个资源文件,禁止 git add -A,禁止改动其它文件。
  3. 提交信息:fix(android): 按设计源图重做桌面图标资源。
  4. 门禁:dart analyze lib test、flutter test、flutter build apk --debug 全部通过。
  5. --no-ff 合并回 develop 并 push。
  6. 在 FruitServer/docs/plans/PROGRESS.md 留痕:分支名、commit、门禁结果。

约束

  • 全程中文;作者 Zhou Weidong <502333560@qq.com>。
  • 不改 Dart 代码、不改其它资源。
  • 完成后停住,等待验收。