ManishMenaria ManishMenaria - 11 months ago 160
Android Question

is it possible to have android navigation drawer with grid view i.e. grid view inside navigation drawer?

Please I want to implement Grid View(2 column) in navigation drawer of my app.
I want to know that is it possible?
if yes, then can you give me steps to follow to get desired result?

Answer Source

Yes, you can have any layout in your navigation drawer you want. The DrawerLayout is just a special wrapper that uses its first child as the normal content and the second child as the navigation drawer that can be swiped in and out. That second child can be any View or ViewGroup you like, including GridView, ListView, LinearLayout or whatever.