Change colour of activated list item background on Honeycomb
问题 For Honeycomb, I have set my listview items to use the ?android:attr/activatedBackgroundIndicator style so they remain highlighted when selected. How do I change the colour of the highlight? 回答1: Define a custom theme with the item: <item name="android:activatedBackgroundIndicator">@drawable/my_background</item> Next, declare that drawable in a state list .xml file under res/drawable/my_background.xml as illustrated here: http://developer.android.com/guide/topics/resources/drawable-resource