Issue
I have a number of PNG images which I convert to different resolutions using a bash script that I wrote.
The input is an image and output is a number of scaled images with resolutions that match: drawable-xhdpi, drawable-hdpi, drawable-mdpi, drawable-ldpi.
Is there a better way of scaling icons and PNG images? What do you use? Should I be using SVG images instead?
Solution
For some of your drawable resources, you may want to use 9-patch images. Ex: If u are setting a custom background for a button. This link explains briefly what 9 patch images are and how to create them. Simple 9patch images guide
Answered By - pixelscreen
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.