Change color of NavigationView's divider and deactive itemiconTint attributte

2.9k views Asked by At

I have manage to show divider in navigation view using different group id as mentioned in this question. but i want to know how to change the color of the divider and deactive itemiconTint attributte. Thank in advance


EDIT: I ask question in comment and @Moinkhan has answer it. so i edit this question

1

There are 1 answers

3
Moinkhan On BEST ANSWER

Yes you can deactive tint using

Programmatically

yourNavigationView.setItemIconTintList(null);

Using XML

<android.support.design.widget.NavigationView
    ...
    app:itemIconTint="@android:color/black" 
    ... />

I hope it helps you ..