TableLayout得到TableRow

for(int i = 0, j < table.getChildCount(); i < j; i++){ 
   
// then, you can remove the the row you want... 
   
// for instance... 
   
TableRow row = getChildAt(i); 
   
if( something you want to check ) { 
        removeViewAt
(i); 
       
// or... 
        removeView
(row); 
   
} 
} 

你可能感兴趣的:(J#)