SKETCHWARE | Change Background Color of Selected Items in ListView Get link Facebook X Pinterest Email Other Apps February 25, 2020 Source code: Wrap | Copy for (int i = 0; i < listview1.getChildCount(); i++) { if(_position == i ) { listview1.getChildAt(i).setBackgroundColor(Color.BLUE); }else{ listview1.getChildAt(i).setBackgroundColor(Color.TRANSPARENT); } } By clicking “Send Question”, you agree to: Use polite and non coercive words. Serious in asking about the problem. Send Question Get link Facebook X Pinterest Email Other Apps