How to Make an ImageView Clickable
android:clickable was added in API Level 1Defines whether the ImageView reacts to click events.
1. Add an ImageView in your main.xml file.
2. In the main.xml file, add the code below.
<ImageView
...
android:clickable = "true"
/>
3. Compile and run!
Resources:
http://developer.android.com/reference/android/view/View.html#attr_android:clickable
http://developer.android.com/reference/android/R.attr.html#clickable