My application has an intro page made up of some text and image elements in a relative layout. I would like to be able to click any part of the screen and have it go to the next activity. Is it possible to use a entire relative layout as a button? If so how would you do this?
Share
You can grab the root view as follows and add a click listener to it:
This should require less maintenance than retrieving a specific layout.