Android ViewPager, first View is not swiping? -
i have viewpager component inside fragmentactivity , filling fragmentstatepageradapter , fragments.
the thing works, there 1 thing don't want, maybe it's expected behaviour:
the first fragment / view stays static , not move, when swipe next fragment / view. next fragment get's swiped above first one. when swipe first fragment, it's same. first 1 seems sit under other fragments , not move @ all. looks other fragments pulled away blanket above first one...
how can have first fragment being moved in , out other fragments?
thanks lot!
look @ "customize animation pagetransformer" here http://developer.android.com/training/animation/screen-slide.html
it explain how make animation between views. , if want default behaviour, remove call
setpagetransformer();
Comments
Post a Comment