The above answers seem flighty and unreliable. I tried doing this with an ImageView in a simple Relative Layout and it did not disable the onClick event.
What did work for me was using setEnabled.
ImageView v = (ImageView)findViewByID(R.id.layoutV);
v.setEnabled(false);
You can then check whether the View is enabled with:
boolean ImageView.isEnabled();
Another option is to use setContentDescription(String string) and String getContentDescription() to determine the status of a view.