简体   繁体   English

Android应用程式图示太小

[英]Android app icon too small

I made my icons using Inkscape following the size guidelines. 我按照尺寸指南使用Inkscape制作了图标。 They looked normal sizes on couple devices. 他们在配对设备上看起来正常大小。 But I wanted to make the corners rounded and I used Android Studio Assets to accomplish that. 但是我想把角落弄圆,我使用Android Studio Assets来实现。 Even though, the sizes are still accurate they now look smaller on the phones? 即使尺寸仍然准确,但现在在手机上看起来更小了? What is causing that? 是什么原因造成的? Has anyone run into the same problems, if so how did you resolve it? 有没有人遇到过同样的问题,如果是的话,您是如何解决的? I checked SO questions and answers this morning and none of them gave me solution. 我今天早上检查了SO问题和答案,但没有一个给我解决方案。

This is because you have a transparent padding added by asset studio. 这是因为您有Asset Studio添加的透明填充。 I am not sure if there is an option to remove the padding there. 我不确定是否可以删除其中的填充。 Best would be to generate the appropriate sizes straight from inkscape. 最好是直接从inkscape生成合适的尺寸。

See: "Android Asset Studio" adds extra space when I upload my .png icons, but doesn't when it uses its internal cliparts. 请参阅: 当我上传.png图标时,“ Android Asset Studio”会添加额外的空间,但是当其使用其内部剪贴画时则不会。 Why? 为什么?

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

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