Jump to content

Changing antialias for different background colors


Recommended Posts

Hello guys,

I designed a set of icons to be used on buttons for Android apps. They are drawn in black and antialiased for a white background so the pixels near the edges are of different types of gray. Now I would like to use the same icons on a light green background but they do not look very well. Is possible to "correct" in some way the antialias effect for the new background color without redesign the icons? Thanks,

Massimo

Link to comment
Share on other sites

Due to the rise of HiDPI on Android many years ago, Google has long recommended against using bitmap/raster images for your UI.

 

You should convert your icons to vector images.

https://developer.android.com/develop/ui/views/graphics/vector-drawable-resources

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...