How to make a layout to know when the user is clicking and when the user takes its finger up?

I need to when i click in determinade layout the color of its background to change and when he touches up the color to go back to normal.
The only method i found was pressed, should i use it?

Posts

Sign In or Register to comment.