I developed it to support flex mode in my app.
I would like to know how to make it look like the youtube app in the [Flex mode panel] like the screenshot.
You might find your solution in this tutorial, for more development-related information you could found on their portal.