I have a ListActivity
public class MyActivity extends ListActivity{ protected void onCreate(Bundle savedstate){ super.onCreate(savedstate); getListView().setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL); getListView().setMultiChoiceModeListener(new AbsListView.MultiChoiceModeListener() { public boolean onPrepareActionMode(ActionMode mode, Menu menu) { Log.i("xxx", "onPrepareActionMode"); return false; } public void onDestroyActionMode(ActionMode mode) {
Here I see that the elements are checked, but the background of the checked elements does not change. I know a way to do this, set the CustomAdapter and getView() background of the checked views. But I believe that there is a much simpler way to handle this. Could you tell me if it is anyway to achieve this?
Screenshot Attachment 
source share