简体   繁体   English

放大android应用启动图标

[英]Enlarge android app launch icon

I used the launcher icon generator link below to create my own launcher icon: 我使用下面的启动器图标生成器链接创建了自己的启动器图标:

https://romannurik.github.io/AndroidAssetStudio/ https://romannurik.github.io/AndroidAssetStudio/

Then I download the zip package. 然后,我下载了zip软件包。 Unzip it into the right directory and overwrite all the drawable-*/ic_launcher.png correctly with my launcher images. 将其解压缩到正确的目录中,并用我的启动器图像正确覆盖所有drawable-* / ic_launcher.png。

The problem is that the launcher icon is small compared to other icons on my phone. 问题在于启动器图标比我手机上的其他图标小。 Look at the image on the far right below: 查看下面最右边的图像:

在此处输入图片说明

How do I enlarge it's dimensions in android studio ? 如何在android studio中放大尺寸?

Just edit those Mipmaps and enlarge them a bit. 只需编辑这些Mipmap并将其放大一点即可。
Use this website, upload any of your icon (for better results use the larger one), edit sizes of every icon like you could multiply every icon's width and height by 1.25 and put them. 使用网站,上传任何图标(为获得更好的效果,请使用较大的图标),编辑每个图标的大小,就像可以将每个图标的宽度和高度乘以1.25并将其放置一样。

For Example - 例如 -

192x192 => 240x240 [xxxhdpi] 192x192 => 240x240 [xxxhdpi]
144x144 => 180x180 [xxhdpi] 144x144 => 180x180 [xxhdpi]
96x96 => 120x120 [xhdpi] 96x96 => 120x120 [xhdpi]
72x72 => 90x90 [hdpi] 72x72 => 90x90 [hdpi]
48x48 => 60x60 [mdpi] 48x48 => 60x60 [mdpi]

  • Also, Don't change any option on the website, just upload the file, 另外,请勿更改网站上的任何选项,只需上传文件,


在此处输入图片说明

  • Enter the dimensions 输入尺寸


在此处输入图片说明

  • Click on resize 点击调整大小


在此处输入图片说明

  • Then download them 然后下载


在此处输入图片说明
.
I used this way and it worked great. 我用这种方式,效果很好。
Also, you could use photoshop but by the time photoshop will open, your work will be done. 另外,您可以使用photoshop,但是到photoshop打开时,您的工作就会完成。

And Downvotes are because of something you could do by yourself or something you could find on google or something hard enough to answer. 而Downvotes是因为您可以自己做某事,或者您可以在Google上找到某事,或者某件事很难回答。 Don't panic, even I can't post questions because I've more downvotes than upvotes on my questions. 不要惊慌,甚至我也不能发表问题,因为我对问题的投票比赞成更多。

Also, don't forget to name all the files ic_launcher.png and store them in respective mipmap folder. 另外,不要忘记命名所有文件ic_launcher.png并将它们存储在相应的mipmap文件夹中。

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

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