简体   繁体   English

Android应用程序图标尺寸过小

[英]Android app icon small size issue

I am tired figuring out why all my apps icon shows smaller than other apps. 我很累了,为什么我的所有应用程序图标都显示得比其他应用程序小。 I create a 512 x 512 icon for my app. 我为我的应用创建了512 x 512图标。 Here is my method of how I use to add an icon to my app. 这是我用来向应用程序添加图标的方法。 Open Manifest file, select Application. 打开清单文件,选择应用程序。 Click Browse button in front of Icon, and select an icon and apply the options in attached picture. 单击“图标”前面的“浏览”按钮,然后选择一个图标并在所附图片中应用选项。 I have applied different methods of putting the same 512 x 512 image in the xhdpi folder, in mdpi and ldpi folder but still no good luck. 我已经应用了不同的方法将相同的512 x 512图像放入xhdpi文件夹,mdpi和ldpi文件夹中,但还是没有好运。 Please tell me what I am doing wrong which make my apps icon smaller than other apps inside mobile. 请告诉我我在做什么错,这使我的应用程序图标比移动设备中的其他应用程序小。 Here is one of my apps whose icon shows smaller. 这是我的一个图标较小的应用程序。 https://play.google.com/store/apps/details?id=com.walldroid.wifi.password.hacker https://play.google.com/store/apps/details?id=com.walldroid.wifi.password.hacker

在此处输入图片说明

If you use the methode described above you will always get the small icon. 如果您使用上述方法,您将始终获得小图标。

Instead of doing all that, copy and paste you image icon in the drawable-hdpi and go to the AndroidManifest.xml and change the following : 无需执行所有操作,而是将图像图标复制并粘贴到drawable-hdpi中,然后转到AndroidManifest.xml并更改以下内容:

android:icon="@drawable/ic_launcher"

to

android:icon="@drawable/your icon name"

Compile !! 编译! you will get a big icon 你会得到一个大图标

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM