LinearLayout layout = setupLayout(); int count = layout.getChildCount(); View v = null; for(int i=0; i