Obsolete
Status Update
Comments
ka...@gmail.com <ka...@gmail.com> #2
I'm creating widgets, and I would really like to see this resolved, since I now am having huge problems with using custom skins (images for icons and background)
ko...@gmail.com <ko...@gmail.com> #3
The problem persists with Android 2.2.
ko...@gmail.com <ko...@gmail.com> #4
Hi,
Did you manage to solve this scale issue ?
Did you manage to solve this scale issue ?
Description
of using setImageViewBitmap() to send the bitmap directly fails a binder
transaction (as warned here [1]). The suggested alternative is to use
setImageViewUri() [2]. When done on an mdpi device (G1), this method works
fine. However, on an HDPI device (WVGA854 on Android 2.1 emulator), the
image scales down to ~3/4 size on the home screen. The image file itself is
generated on the fly within the ContentProvider, and is verified to be
normal scale.
It appears that at least two other individuals have encountered this issue
([3], [4]). I wonder if the problem is due to using createFromStream()
here [5] instead of createFromResourceStream() [6]?
[1]
[2]
[3]
[4]
[5]
[6]