Perhaps I'm in the wrong forum... can anyone help?

On Apr 5, 9:46 pm, Neilz <neilhorn...@gmail.com> wrote:
> Hi all. I'm having difficulty getting to grips with the
> 'objectAnimator' element which is used forfragmentanimation, and
> searching around hasn't really offered much clues.
>
> Here's what I'm trying to achieve:
>
> I have a simple layout where two fragments occupy a portion of the
> screen each, added vertically to a LinearLayout. So the top half of
> the screen could be FragmentA, and the bottom half FragmentB. Upon
> some event, I hide the topfragment, so that FragmentB takes up the
> whole screen, and then upon another event, FragmentA is shown again.
>
> When FragA is hidden, I want FragB to gracefully slide up to take its
> place, and similarly when FragA is shown again, I want it to slide
> back into place pushing FragB back down.
>
> Would really appreciate some help with the objectAnimator properties.

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