discord / OverlappingPanels

Overlapping Panels is a gestures-driven navigation UI library for Android
Apache License 2.0
420 stars 27 forks source link

Not require two side panels, specify just [left | right] #17

Closed cgudea closed 3 years ago

cgudea commented 4 years ago

I'm a huge fan of this library's UX as the Android 10 back gesture breaks most app's UX in regards to side "panels"/navigation drawers.

I'm curious if there are any plans to make it possible to only need one overlapped panel instead of the currently required Start and End panels. I'd like to use this as a drop in replacement for all my navigation drawers but rarely do I need both start + end panels/drawers.

Cheers!

itsnotashes commented 4 years ago

+1

It would be nice to have this feature for just one navigation panel!

thementalgoose commented 3 years ago

Correct me if i'm wrong but I think you can? Just have a blank frame layout and use setEndPanelLockState(LockState.CLOSED) to keep it permanently closed 👍

sivaprakashsj commented 3 years ago

Correct me if i'm wrong but I think you can? Just have a blank frame layout and use setEndPanelLockState(LockState.CLOSED) to keep it permanently closed 👍

It's working!