How to customize item background and item text color inside NavigationView?
问题 I wanna achieve something like this shown in the Material Design Docs. colorControlHighlight is used for the Background on checked items. I need to customize: background unchecked text color checked text color unchecked 回答1: NavigationDrawer (NavigationView) has three options for configuration of checked/selected items. app:itemIconTint="@color/menu_text_color" //icon color app:itemTextColor="@color/menu_text_color" //text color app:itemBackground="@drawable/menu_background_color" /