简体   繁体   中英

Android icon getting cut off [React Native]

I just published my first App on Google Play, and everything seems good, except for the main icon. For some reason it keeps getting cut off on the edges. I have sized it to be 512x512 pixels in Photopea, and have tried making it smaller several times (the actual graphic within the 512x512 space), but nothing seems to make a difference.

How can I fix this? Please let me know if any details are needed. I am using Expo and have tried both expo publish and re-bundling and updating the app.

Thanks!

I realise that this is an old question but I had the same issue and this question was among first results.

The problem is because your icon is near the edges of the image and it is being cut off by android.

The solution is following:

It is recommended that you use a 1024x1024 png file, leaving at least the outer 1/6 transparent on each side.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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