我正在尝试使用本指南实施:
https://developer.android.com/preview/features/adaptive-icons.html#Creating
对于 Android O Preview,但启动器向我显示了默认的 Android 图标,而不是我的 ic_launcher.xml 中指示的两个图层
ic_launcher.xml
<maskable-icon>
<background android:drawable="@mipmap/layer0"/>
<foreground android:drawable="@mipmap/layer1"/>
</maskable-icon>
有没有人试图实现这一点?或者仍然不可用?
(在我的清单中,我将 ic_launcher.xml 放在图标中)
更新:
谷歌更新你的网站,并adaptive-icon
把maskable-icon