I want to scale and display images which are dynamically loaded to a
certain maximum size.  The way I'm doing this is to set the
layout_width and layout_height of my ImageView to the maximum
dimensions and setting the scaleType to "fitCenter".

But here's the problem.  This is inside a RelativeLayout and I want to
show text directly under the image.  In portrait mode, the text is way
at the bottom (because of the height I have set).  So I want the
ImageView to scale down to the actual visible image size which is what
it would seem like adjustViewBounds="true" should do.

Am I wrong in this assumption?  Or is there a better way to do what
I'm trying to do?  Because I've been unsuccessful to this point!

Thanks,
tim

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