Android List View Selected Item Style Not Showing Until User Scrolls
I am currently working on an Android tablet application which has two fragments, a list fragment and a details fragment. I am trying to make my list similar to People and Email whe
Solution 1:
I have finally managed to solve this problem.
All that was required was the following two lines
listView = getListView();
listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
It now works similar to mail and people in ICS for tablets.
Solution 2:
Disable the cache color hint optimization? http://developer.android.com/resources/articles/listview-backgrounds.html
Post a Comment for "Android List View Selected Item Style Not Showing Until User Scrolls"