I am using Relative Layout and many buttons in it with TextViews etc.I want to make all of them not clickable unless some event happens.
Since you are going to perform the click for some items in the layout when that particular function is executed,
false, once the particular function is performed change it to true.