Pregunta

I'd like to try to construct main.xml like in this application. Actually, I want construct it so that to have the same menu (with other styles).

This menu is very useful. I can pull (or drag, don't know) screen to right, and menu will be on the left side. Visual it's located on the background side.

VK http://vk.com/doc16200012_87954624?hash=f5ac3dff8816dbd63e VK http://vk.com/doc16200012_87957448?hash=7b66a484606b806f29

This menu is scrollable. VK http://vk.com/doc16200012_87954750?hash=b1ac2c96c6fc49d532 So, how should I construct my main.xml to obtain something like this (with this menu)?

¿Fue útil?

Solución

The android-fb-like-slideout-navigation project on github by Alex Korovyansky features the type of menu you are looking for. Here is a video demo of the functionality. The menu type is sometimes referred to as "Facebook style slide-in menu" or similar, after FB implemented it on their mobile apps.

This question has been answered several times on SO. You can find links to more implementations in these answers:

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top