gpt4 book ai didi

Android Studio 应用程序图标

转载 作者:行者123 更新时间:2023-11-29 01:05:01 24 4
gpt4 key购买 nike

(我已经更新了帖子)

下面是我的项目:

list :

    android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"

贴图:创建者:新建 > 图像资源我选择了 Launcher Icons (Adaptative and Legacy)

Icons

此外,当我打开它们中的任何一个时,我会看到我想要的图标:

Icon

现在,启动器图标工作正常:

Launcher Icon

我遇到的问题是它不想更新在我要选择另一个应用程序时显示的图标。

Problem

最佳答案

您必须更新 list 文件中应用程序标签的两个属性。

   android:icon="@mipmap/ic_launcher" <-- Change this one
android:roundIcon="@mipmap/ic_launcher_round" //<-- and this one

或者你可以删除

android:roundIcon="@mipmap/ic_launcher_round" //<-- and this one

确保您已将所有 mipmap/drawable 放置在正确的位置和所有 dpi。

如果您还有问题,请联系我。

关于Android Studio 应用程序图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47893199/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com