在带有剪贴画的 Image Asset Studio 中创建启动器图标(Adaptive 和 Legacy)时,会在 mipmap 文件夹中创建图像:
但是对于 anydpi-v26,前景的标准图标没有改变,尽管背景颜色发生了变化:
ic_launcher.xml(anydpi-v26):
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
ic_launcher_foreground 文件夹中有两个文件:ic_launcher_foregraund.xml(新图标)和 ic_launcher_foregraund.xml (v24)(标准图标)
为什么他不自动换新图纸?感谢您的任何回答!