I\'m using the new class provided by the design library : TabLayout. And I want in specific cases that the one I\'m using can\'t change tab anymore.
I manage to disa
A good trick you can use :
create a frame layout that cover the view(s) you want to protect from a click like the following :
This code will create and empty/transparent view on top of your view. The android:clickable="true" will intercept the click and prevent the click to go through the view !
This hack can probably be optimized but its few lines of code to protect multiple view at the same time !