TableLayout将里头button设置为可用

TableLayout将里面button设置为可用TableLayout tableLayoutInstance // 假定是buttonArrayListView to

TableLayout将里面button设置为可用

TableLayout tableLayoutInstance;

// 假定是button
ArrayList<View> touchables = tableLayoutInstance.getTouchables();?
for(View touchable : touchables){?
? ? if( touchable instanceof Button )?
? ? ? ? ((Button)touchable).setEnable(false);?
}?