/**
* 删除LinearLayout中的对象
*/
private void removeView(LinearLayout linLayTR) {
// 获取linearlayout子view的个数
int count = linLayTR.getChildCount();
for (int i = count - 1; i >= 0; i--) {
linLayTR.removeViewAt(i);
}
}
/**
* 删除LinearLayout中的对象
*/
private void removeView(LinearLayout linLayTR) {
// 获取linearlayout子view的个数
int count = linLayTR.getChildCount();
for (int i = count - 1; i >= 0; i--) {
linLayTR.removeViewAt(i);
}
}