i got the following problem.
i have a ListView with custom rows consisting of an imageview and a textview. the textview\'s xml code is
@Override public void onItemClick(AdapterView> parent, View view, int position, long arg3) { for(int a = 0; a < parent.getChildCount(); a++) { parent.getChildAt(a).setBackgroundColor(Color.BLACK); } view.setBackgroundColor(Color.RED); }