adgvcxz / CardLayoutManager

A custom layoutManager providing a Tinder-like cards effect.
Apache License 2.0
40 stars 9 forks source link

Support of translation on different sides. #4

Closed sikrinick closed 6 years ago

sikrinick commented 7 years ago

Are you planning to add support of elevation for other sides? Not only bottom, but also, for top and right?

adgvcxz commented 7 years ago

@sikrinick You can set the CardView elevation

sikrinick commented 7 years ago

@adgvcxz I mean, there is elevation on bottom side, but I would prefer to have it, for example, on left, top or right side. I made a workaround and I can send you pull request, if you don't mind.

Also, is it possible to allow set action for different scroll movements? For example, scroll to next on left-to-right and scroll to previous on right-to-left without some onTouch code?

adgvcxz commented 7 years ago

@sikrinick Yeah You can send your pull request.

scroll to next on left-to-right and scroll to previous on right-to-left without some onTouch code?

I think it needs to override fillChild