You can use the hdpi qualifier on a resource directory to provide a higher resolution version for the Droid that it won't try to scale. If your image is currently in "res/drawable", for example, you can put a high resolution version of it in "res/drawable-hdpi-v4". The normal drawable folder is considered medium display density, so Droid will scale things up from that by default.
To avoid bad looking scaling you should also make sure your app isn't in compatibility mode re supporting multiple screen resolutions by setting your uses-sdk and supports-screen manifest elements to avoid that. See the documentation for details: http://developer.android.com/guide/practices/screens_support.html On Jan 14, 4:25 am, yidongsoft <long...@gmail.com> wrote: > In my G2, the icon is ok. But in Droid, the icon look bad. The > skeleton is good, but the icon is scaled and the icon looks cheap. I > try to set the icon big in resolution, but the button enlarged and the > balance of layout is break. Can any one help me to fix it? Thanks! > > icon is not the icon for application present on desktop, but normal > ones present on image button. > > Thanks!
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en