I have a problem in my ListView. I want to change the background of selected item when I select it to a custom drawable that I have, but it doesn\'t work.
dynamicListView.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView> arg0, View arg1, int arg2, long arg3) {
//arg1 will give you that view
arg1.setBackgroundColor(Color.BLUE);
}
});