Android: Expandable Navigation Drawer with custom row views

Sotti picture Sotti · Aug 28, 2013 · Viewed 15.9k times · Source

I'm trying to do a navigation drawer menu with expandable elements like this --> http://goo.gl/SkMU8N

I had no idea so I started by doing something like this one (not mine).

https://github.com/PrashamTrivedi/DrawerLayoutTest

The problem is that those rows are simple text and they looks horrible.

I want to know how to modify the Adapter (or whatever) to attach my own xml files like you do with the normal drawer (example here --> http://goo.gl/phAJy).

Thanks a lot!!

Answer

user2726824 picture user2726824 · Aug 28, 2013