The view consistes of edittext and textview in linear layout all should be disable with the layout itself.
for (int i = 0; i < llAllTaxAmount.getChildCount(); i++) {
View child = llAllTaxAmount.getChildAt(i);
child.setEnabled(false);
}
llAllTaxAmount.setEnabled(false);