您好,我有一个tableLayout,正在使用嵌套的for循环用ImageView填充布局。我目前正在尝试单击一个ImageView并重新排列ImageView数据,然后刷新屏幕以反映重新排列。I setContentView of the original TableLayout ('tl') in the onCreate event,此处无法再次调用它。
hscvista.setLayoutParams(new HorizontalScrollView.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));tabla.setLayoutParams(new TableLayout.LayoutParams(LayoutParams.FILL_PARENT// Header of the table