我按照tutorial在drawable文件夹下创建了launch_screen.xml。但是,在design部件中没有显示任何内容。如何修复它?ic_launcher_new_foreground.xml
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_new_background"/>
<foreground android:drawable="@drawable/ic_launcher_new_foreground"/>
</adaptive-icon>color.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#6200EE</color>
<color name="colorPrimaryDark">#3700B3</color>
<color name="colorAccent">#03DAC5</color>
<color name="blue">#188DDC</color>
</resources>

发布于 2020-06-20 07:06:27
它在截图mipmap中分享的代码中显示,而不是@drawable。
这可能是原因吗?请让我知道。如果不是,可以进一步寻找解决方案。
https://stackoverflow.com/questions/62479035
复制相似问题