lv.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) { for (int i = 0; i < adapter.getCount(); i++) { View v = arg0.getChildAt(i); if (arg2 == i) { v.setBackgroundColor(0x5653fbff); }else{ v.setBackgroundColor(Color.TRANSPARENT); } } } });