List of usage examples for android.widget TableLayout getChildCount
public int getChildCount()
From source file:com.samknows.measurement.activity.SamKnowsAggregateStatViewerActivity.java
private void clearGrid(int grid) { TableLayout table = (TableLayout) findViewById(grid); int count = table.getChildCount(); for (int i = 0; i < count; i++) { View child = table.getChildAt(i); ((ViewGroup) child).removeAllViews(); }/*from w w w .j a v a2 s .c o m*/ }