Challenge: Add a Listener to the TextView

Your Next button is nice, but you could also make it so that a user could press the TextView itself to see the next question.

Hint: You can use the View.OnClickListener listener for the TextView that you have used with the Buttons, because TextView also inherits from View.

Get Android Programming: The Big Nerd Ranch Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.