Replace Navigation View Item Ripple Effect
问题 I am attempting to replace what I thought was the default item background of the NavigationView . So I created a drawable to replace the background and applied it using the itemBackground attribute. background_navigation_view_item.xml <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/navigation_item_background_tint"> <item android:id="@android:id/mask" android:top="4dp" android:bottom="4dp" android:left="8dp" android:right="8dp"> <shape android:shape=