It works very well. Image resources are packaged as PNG files, lossless
compression.
Some useful links:
http://developer.android.com/guide/practices/ui_guidelines/icon_design.html
http://developer.android.com/guide/practices/screens_support.html
http://developer.android.com/guide/topics/resources/drawable-resource.html#NinePatch
It shouldn't be necessary to create icons from code, as there are only
several fixed pre-defined resolutions, and hence, icon sizes (when
expressed in pixels).
However, I find it useful to use vector-based (as opposed to raster
based) drawing tools in Photoshop when creating my [very limited] artwork.
-- Kostya
22.12.2010 19:26, crem пишет:
Hi, I have a question:
What is the common approach when using icons in an android app
(buttons, etc...) ?
Android offers these hdpi, ldpi and mdpi folders for images in
different resolutions. How good does this work for all different
displays?
Or is it more common to create the icons programmatically as
vectorgraphics? If yes: can you suggest any turorials regarding this
topic?
greets
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en