Resize Listview width on button horizontal drag

I want to implement below screen:enter image description here

User can touch and drag white button towards right.The width of left listview should get incremented and right listview width should decrement respective to the position of white button.

how can i achieve this?

I know about resizing of images using canvas but how to do it for android ui controls(listview in my case)?

Please let me know if you need more information.

Source: android

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.