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.
Relative Layout
clickable
You can make a common method in which you can write the code for disabling all your views inside your relative layout and call this method in onCreate() and then you can enable your particular view inside the the layout on your event.
onCreate()