Android Studio应用程序图标 [英] Android Studio app icon

查看:139
本文介绍了Android Studio应用程序图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(我已经更新了帖子)

这就是我的亲人:

清单:

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

Mipmap: 创建者New> Image Asset 我选择了启动器图标(自适应和旧版)

Mipmap: Created by New > Image Asset I selected Launcher Icons (Adaptative and Legacy)

图标

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

Also, when I open any of them I see the icon I want:

图标

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

Now, the launcher icon works just fine:

启动器图标

我遇到的问题是它不想更新要选择其他应用程序时显示的图标.

The problem I'm having is that it does not want to update the icon that is displayed when I'm going to select another app.

问题

推荐答案

您必须更新清单文件中application标签的两个属性.

you have to update both property of application tag in manifest file.

   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.

ensure you have place all mipmap/drawable in correct place and for all dpi.

如果仍有问题,请与我联系.

reach me if you have still problems.

这篇关于Android Studio应用程序图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆