Using linear layout i have to disable the on click event inside that particular linear layout and commonly all views (textview etc) has to be disable

Viewed 20

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);
0 Answers
Related