I have a pair of adjacent views in an Android application. I'd like to give the user the ability to drag a widget to change the relative size of the two views within a larger container. If SlidingDrawer let the user pin the drawer wherever they wanted, that'd likely get me what I want.
My Google 'fu is failing me. I can't find a single example of this anywhere.
Thanks!
I ended up putting together a bit of code to create a custom LinearLayout subclass to do what I wanted.
The code is at https://github.com/k9mail/splitview
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With