OnClick in XML

This is a nice hack when it comes to Android code writing:

In the activity we can specify the method:

Leave Comment

Your email address will not be published.

Please type the characters of this captcha image in the input box

Please type the characters of this captcha image in the input box