Perhaps this could help: http://stackoverflow.com/questions/4817900/android-fragments-and-animation
Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Apr 11, 2012 at 10:21 AM, Neilz <[email protected]> wrote: > Perhaps I'm in the wrong forum... can anyone help? > > On Apr 5, 9:46 pm, Neilz <[email protected]> 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 [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 > -- 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

