shiburagi / Drawer-Behavior

Drawer behavior is a library that provide an extra behavior on drawer, such as, move view or scaling view's height while drawer on slide.
https://shiburagi.github.io/Drawer-Behavior/
MIT License
593 stars 101 forks source link

Not Support RTL #2

Closed RHoumaidy closed 6 years ago

RHoumaidy commented 6 years ago

when the local of the device set to RTL like (Arabic) the activity still slides to right, while it should slide to left

shiburagi commented 6 years ago

just change the gravity to 'end'.

On Nov 9, 2017 06:56, "RHoumaidy" notifications@github.com wrote:

when the local of the device set to RTL like (Arabic) the activity still slides to right, while it should slide to left

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shiburagi/Drawer-Behavior/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AO0HP4CtD9nCgIrlZF1syS4m2C9oDMhdks5s0jGzgaJpZM4QXLD4 .

shiburagi commented 6 years ago
android:layout_gravity="right" 

or you can refer here

https://stackoverflow.com/questions/18547277/how-to-set-navigation-drawer-to-be-opened-from-right-to-left