setItemChecked not working on Gingerbread
问题 I am using the following selector to change the appearance of text in a listView item: <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_checked="true" android:color="#FFFFFFFF" /> <!-- checked --> <item android:state_activated="true" android:color="#FFFFFFFF" /> <!-- activated --> <item android:state_pressed="true" android:color="#FFFFFFFF" /> <!-- pressed --> <item android:state_focused="true" android:color="#FFFFFFFF" /> <!-- focused --> <item