On Sun, Jan 16, 2011 at 11:02 AM, Henrik Lindqvist
<henrik.lindqv...@gmail.com> wrote:
> I've already tried that. It works if the bitmap is smaller than the
> ImageView, it aligns to the right edge correctly. But, if the bitmap
> is larger, its cropped at both left and right side. Seems like an
> ImageView can't expand to be larger than it's parent, even inside an
> FrameLayout.

Of course. That's a rule for any container/child relationship in Android.

> Any trick to make a ImageView larger than it's parent FrameLayout?

Move it outside of the FrameLayout into some larger container. Or,
expand the FrameLayout.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 3.1 Available!

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