Ramotion / cardslider-android

:octocat: 🃏 Cardslider is a material design UI controller that allows you to swipe through cards with pictures and accompanying descriptions.
https://www.ramotion.com/cardslider-android-ui-app-development-library-to-interact-with-cards/
MIT License
2.34k stars 358 forks source link

Support RTL #25

Closed bkhezry closed 5 years ago

bkhezry commented 6 years ago

Hi, I just change layoutDirection of recycler view to rtl but this option didn't support in the CardSliderLayoutManager. how can I add this feature?

golovin47 commented 5 years ago

Hello, @bkhezry. Right now there is no such feature in cardslider-android. If you need RTL, you customize the source code of this lib. Try inverting some of the values, responsible for laying out the cards in layout manager.

AliBakrey commented 2 years ago

Hello, @golovin47 Could you mention for any functions we need to change