3/20/2024 0 Comments Android studio app icon generator![]() On Android it looks like it hasn't applied the scaling factor to the image: Support safe-area style image that require a full background and is OS-cropped - like all the iOS icons.Support the legacy Android and Tizen way of drawing the single icon as is with in-pixel corners.Support the Android adaptive aggressive crop with over 1/3 the image gone.Support a plain, fancy-shaped image - like the VS or the Windows Settings app.The question I am asking is this: "what is the best way to handle the following cases?" Android is the only one that I see that does the whole "crop off 1/3 of the image" nonsense. I need to check with Tizen, maybe or can share, but I think they just have a single image that does not crop like Android does.Īlso, iOS also does not crop. For example, we could have a plain background/foreground that is a cool icon - like the VS icon. Things like legacy Android and Windows and macOS do actually take into account the background shape. Maybe we need resizetizer to be smarter and make the foreground bigger on the ones that don't have a safe area - Windows, macOS and Tizen. And when I say "legacy" I mean Android 7 and older. But this does not play well in the cases of the mobile needing the new way. csproj to be "if mac / windows, use the desktop-y - else use the mobile-y". Link to public reproduction project repositoryħ.0 Release Candidate 2 Last version that worked wellĪt this point, are we maybe looking for 2 styles of icons and somehow convey that in the template or extend the MauiIcon MSBuild item? Observe the generated images are not consistent.Does not allow custom shapes, will fill with black. ![]() ![]() Crops the adaptive icons by 1/6 all round.this is exactly what is happening with adaptive icons anyway.no way for the dev to provide a custom icon shape.We can copy Android Studio and totally scale up both layers and apply our own clipping and shadow.we may cover background corners/edges if the foreground gets too big.we may lose image data on the edges (but we do already in adaptive).both the background and foreground are clipped 18dp.the icons will look strange if the foreground image is not transparent during parallax.We can scale down the adaptive foreground images. ![]() But we need to ensure the final images are drawn correctly. Not sure the correct approach here as the developer may want to have cool things on those edges.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |