On Jan 16, 5:04 pm, Mark Murphy <[email protected]> wrote:

> On Sun, Jan 16, 2011 at 11:02 AM, Henrik Lindqvist
>
> <[email protected]> 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.

If a child view can't be larger than it's parent, how does a
ScrollView work?

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

I can't, it's an AppWidget.

>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to