hi, I've got a picture 300x98.
I want to use an ImageView with width="fill_parent" in order to let Android zoom it to 320x105 (portrait) or 480x157 (landscape). I tried every scaleType and adjustViewBounds combination, but didnt get it right :( documentation doesnt help me neither: CENTER Center the image in the view, but perform no scaling. CENTER_CROP Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). CENTER_INSIDE Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding). FIT_CENTER Scale the image using CENTER. FIT_END Scale the image using END. FIT_START Scale the image using START. FIT_XY Scale the image using FILL. MATRIX Scale using the image matrix when drawing. who can help? greetings, marco btw: I only want to use XML for this... -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.