D
D
deleted-albours2015-08-28 19:58:52
Android
deleted-albours, 2015-08-28 19:58:52

Android how to make icons in Navigation Drawer sections?

I decided to implement the Navigation Drawer in the application. To do this, I use the Navigation Drawer Activity template in AndroidStudio 1.1.
Actually, here is a screenshot of this template:
2cb55570d5e24643a9ea05db57f812c4.png
I want each Navigation Drawer section to have an icon next to the text element, for example, as in such applications: VKontakte, Sports.ru, Play Market.
H4r4h_JdpL3E33foySd7zkfwGySXpMH6tQHSjR7p
0f4ac71c077d483d9308c3e6ec7c05d4.png
e5000eb97ede4cff99e2ce3066de0c71.png
Can this be done using the existing NavigationDrawerFragment that AndroidStudio provides?
Or only with the help of third-party libraries?
I did not find any examples on the implementation of NavigationDrawerFragment with icons in sections, maybe you can give an example.
And in general, it feels like every application I have presented uses a different NavigationDrawer. Even the same Google Play Market with its NavigationDrawer is significantly different from the template that is presented in AndroidStudio. Navigation pops up on top of all activities.
If known, write what NavigationDrawer all these applications use.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Emin, 2015-08-28
@deleted-albours

Google hasn't been canceled yet.
Here is one of the good articles , which shows how to make a drawer with icons using support lib.

R
Rustem Saitkulov, 2015-08-29
@atetc

Navigation Drawer today needs to be done like this blog.grafixartist.com/easy-navigation-drawer-with-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question