Hi,

At V-Play, we have an example on how to achieve this in our Twitter sample app. Check out the screenshots: (Sorry, didn't have time to record an animation ;) )

0_1499349566897_vplay-collapse1.png

1_1499349566898_vplay-collapse2.png

2_1499349566898_vplay-collapse3.png

This sample needs the V-Play SDK to run, which might be useful if you are into app development.
If you don't want to install a third-party SDK, you still might be able to get some inspiration from the sample app.

Cheers,
Lorenz