I'm writing a widget at the moment. It's supposed to fill one cell, so I've set the size to be 72dp by 72dp. The layout has a linear layout containing a 72x72dp ImageView.
In onUpdate(), I call views.setImageViewBitmap with a 72px x 72px bitmap. This worked fine under Android 1.5 on my G1, but now I have a Nexus One, the image gets stretched to fill the cell, and looks blurry. What is the correct, device independent way, to work out how big the bitmap should be? James Ots -- 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

