
I tried to disable the children widgets by disabling the wrapping relativeLayout, but that doesn’t work, is there any other way to do that? I think this is necessary because sometimes we don’t want to setEnable(xx) on every children widgets. So is it possible for me to do that? or is there some similar way ? thx a lot~
Maybe you can try something like this:
I believe you can extend the layout class and implement a new method that does the job. Also, you can check this question: How to disable all content inside linear layout in android?