[android-developers] Re: Fragment animations using objectAnimator to slide over the previous fragment

2014-06-06 Thread Doug
I have not thought through this myself thoroughly, but have you considered using a FragmentPagerAdapter with a ViewPager? Doug On Thursday, June 5, 2014 11:41:02 AM UTC-7, Simon Giddings wrote: I have seen the kind of effect I want being demonstrated with the ViewPager

[android-developers] Re: Fragment animations using objectAnimator to slide over the previous fragment

2014-06-06 Thread Simon Giddings
Thanks for your suggestion. No, you are right, I have not considered this as yet (didn't know I could to be honest). I'll look into this option, unless anyone else has already done this and could share here ? On Friday, 6 June 2014 10:10:44 UTC+2, Doug wrote: I have not thought through this

Re: [android-developers] Re: Fragment animations using objectAnimator to slide over the previous fragment

2014-06-06 Thread Harri Smatt
Hmm.. Maybe I misunderstood the problem but does it help if you simply use non-transparent Fragment background colour? On Jun 6, 2014 2:14 PM, Simon Giddings mr.s.giddi...@gmail.com wrote: Thanks for your suggestion. No, you are right, I have not considered this as yet (didn't know I could to

Re: [android-developers] Re: Fragment animations using objectAnimator to slide over the previous fragment

2014-06-06 Thread Simon Giddings
Thanks for this Harri, Tried it, to no avail. In fact, what I have found is that the new fragment, when it is animated in, comes in *under* the existing fragment. What I need is for it to be inserted *over* or *before* the existing fragment. Cannot see how to do this. Not too happy about

Re: [android-developers] Re: Fragment animations using objectAnimator to slide over the previous fragment

2014-06-06 Thread Kostya Vasilyev
2014-06-06 19:12 GMT+04:00 Simon Giddings mr.s.giddi...@gmail.com: Thanks for this Harri, Tried it, to no avail. In fact, what I have found is that the new fragment, when it is animated in, comes in *under* the existing fragment. What I need is for it to be inserted *over* or *before* the