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 ViewPager as it is in the support library - which for 
me means that it is not stable code, at least not as stable as system code.

Any other thoughts ?

On Friday, 6 June 2014 15:16:22 UTC+2, Harri Smatt wrote:
>
> 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" <[email protected] 
> <javascript:>> wrote:
>
>> 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 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 
>>>> <http://developer.android.com/training/animation/screen-slide.html#depth-page>
>>>>  
>>>> - but I am using Fragments.
>>>> Can this kind of transition (just the moving in from the left bit shown 
>>>> at the end) be achieved with fragment animation ?
>>>>
>>>  -- 
>> 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] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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 unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to