selectableItemBackground as item in layer-list
问题 I've copied a file from the Google IO Schedule app source (https://github.com/google/iosched) namely selected_navdrawer_item_background.xml <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/backgroundColor"> <shape> <solid android:color="#12000000" /> </shape> </item> <item android:drawable="?android:selectableItemBackground"/> </layer-list> I want to use this to highlight the currently selected item in a NavigationDrawer. My problem is, when I