ToxicBakery / ViewPagerTransforms

Library containing common animations needed for transforming ViewPager scrolling for Android v13+.
https://toxicbakery.github.io/ViewPagerTransforms/
Apache License 2.0
2.57k stars 489 forks source link

Slide vertically #39

Closed nikhilB93 closed 8 years ago

nikhilB93 commented 8 years ago

In this demo sliding is horizontal, Is there any way to slide view up n down instead of left right ? Animation also be vertical eg. Vertical stack transformation when I slide up n down..plz help..

ToxicBakery commented 8 years ago

If you want LTR and RTL gestures to send views vertically instead of horizontally, yes that is possible with a simple animation. If you want bottom to top and top to bottom gestures with vertical animation, that would require modification of the view pager which exceeds the scope of this library.

Piasy commented 8 years ago

@nikhilB93 Maybe this repo is helpful: https://github.com/kaelaela/VerticalViewPager

ToxicBakery commented 8 years ago

I believe this has been answered as out of scope. Please reopen if that is incorrect.

nikhilB93 commented 8 years ago

Thanks @ToxicBakery and @Piasy .