4

enter image description here

That round icons was supposed to look like this enter image description here

 <item
        android:checked="false"
        android:icon="@drawable/nav_settings"
        android:title="Contact Us" />

    <item

Even default icon ic_launcher is not shown. I am using Design Support Library for Navigation Drawer

katwal-Dipak
  • 3,523
  • 2
  • 23
  • 23
  • I tried chris banes cheesemaster from github and i was able to have the `ic_launcher icon` in the drawer. The tinting of the icon is by default . – Raghunandan Jul 22 '15 at 11:29
  • Why Can't I use Colorful icon here? @Raghunandan... I am Using .png – katwal-Dipak Jul 22 '15 at 15:00
  • http://stackoverflow.com/questions/30967851/change-navigation-view-item-color-dynamicly-android – Raghunandan Jul 22 '15 at 15:17
  • Thanks alot @Raghunandan for the help. But what if I want to use icon With Multiple Color Combination. – katwal-Dipak Jul 22 '15 at 15:18
  • the whole icon is tinted with one color. No wonder it is as it is in the screen shot. You need to change your icon – Raghunandan Jul 22 '15 at 15:28
  • I tried With Multiple icons, it works fine except in Navigation Menu. – katwal-Dipak Jul 22 '15 at 15:30
  • You need to look at the material design guidelines. http://www.google.co.in/design/spec/patterns/navigation-drawer.html# and secondly design of icons http://www.google.co.in/design/spec/style/icons.html#icons-product-icons – Raghunandan Jul 22 '15 at 15:30
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/83992/discussion-between-raghunandan-and-katwal-dipak). – Raghunandan Jul 22 '15 at 15:31

1 Answers1

17

From the discussions in the comment section , it looks like you don't want the icons to be tinted. So just use

navigationView.setItemIconTintList(null);

Note : This is not in line with the material design guidelines. I would not recommend this

Raghunandan
  • 132,755
  • 26
  • 225
  • 256