When set to true, the selector will be drawn over the selecteditem. Otherwise the selector is drawn behind the selected item. Thedefault value is false.
实际使用的时候,如何设置为true,配合listSelector使用,根据选择器,在selected Item上面覆盖一层绘制
<style name="PhotoGridLayout"> <item name="android:drawSelectorOnTop">true</item> <item name="android:listSelector">@drawable/list_selector</item> </style>