There is a NavigationView in which I connect the menu c items .
Is it possible to set something like that, for example, the color of the first element would be white, and the second blue?
Those. not by clicking but statically the colors of the items were different.
NavigationView.xml :
<android.support.design.widget.NavigationView android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" android:id="@+id/navigation_view" app:menu="@menu/navigation_items" app:itemTextColor="@color/my_text_color"> Menu:
<menu> <item android:id="@+id/my_id1" android:title="Элемент1"/> <item android:id="@+id/my_id2" android:title="Элемент2"/> </menu> 
