Disable onClick
I designed an interface with several 5-6 buttons and two galleries. When you click the button, the View is partially displayed (does not cover the entire screen) in the upper right corner. I want to disable onClick and scrolling of other buttons and galleries when the listView is displayed.
That is, I want to achieve a script similar to the alertDialog script. I don't want to individually disable the onClick of each button, as I may need to add or remove buttons later and saving the code can become a tedious job. Is there a way to disable onClick and scrolling in general.
PS: It would be helpful if onClick and scrolling of the layout can be disabled. In this case, I can turn off the onClick of all layouts except the popup listView
+3
source to share