Hi all. I'm having difficulty getting to grips with the
'objectAnimator' element which is used for fragment animation, 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 top fragment, 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 [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