In case you want to make a TextView clickable, simply setting an onClick handler won’t do it. Make sure you set your android:clickable attribute:

...
android:onClick="doMagicalThings"
android:clickable="true"
...

$ logout

Advertisements