Hello,

My app requires a small resolution resource image (32x5 px) to be
scaled to a size drawn by the user. When I display the image though,
it is always too big or too small. To test my scaling code, I also
have my app draw a blue rectangle for the specified size; when I test
it though, the rectangle is the perfect size, while the image still
scales incorrectly.

http://i.imgur.com/ttK7a.png is my result on an emulator, and
http://i.imgur.com/EdX5x.png is the result from running it on my
actual device (Samsung Vibrant).

http://i.stack.imgur.com/ipQEh.png is the small image that I use.

I don't know what is the code-uploading norm for google groups, so
I'll leave that out unless it's needed. So if I should show my code,
let me know the best way to do so.

Thank you very much in advance!

-- 
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

Reply via email to