Worked like a charm, the trick was setting setClipChildren to the
layout that enclosed the galleries.

On Nov 8, 10:40 am, Romain Guy <romain...@google.com> wrote:
> Call setClipChildren() on both the gallery and its parent.
>
>
>
>
>
> On Sun, Nov 8, 2009 at 10:05 AM, RalphLeon <rgoo...@gmail.com> wrote:
> > Anyone? This seems to be the case with all layout animations, not just
> > Gallery's.
>
> > On Oct 29, 10:54 am, RalphLeon <rgoo...@gmail.com> wrote:
> >> So, if you have a layout animation attached to a gallery with the
> >> views coming from _outside_ of the parent (a translation animation):
> >> how do we get the views to not be clipped to the gallery?
>
> >> At first guess:
>
> >>     Gallery.setClipChildren(false);
>
> >> seems like it should work, but the animations are still clipped to the
> >> bottom of the gallery!
>
> >> My current work around is to setClipPadding(false) then add 100px of
> >> padding. Finally use a relative layout with negative margins to put
> >> things in the correct position. This _seems_ to work, though smells of
> >> "hack".
>
> >> Any thoughts?
>
> > --
> > 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
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them

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