TextView doesn’t respond to click events (Android Studio)

Issue

On some devices clicking on TextView control doesn’t trigger onClick event. Out of handful of devices I used for testing it was affecting only Samsung Galaxy S4 Mini (Android 4.4.2).

Resolution

The issue was resolved by adding android:clickable=”true” property to the TextView in layout xml file.

January 2016


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *