I have a checkbox with link in its text .
When ever I checked the checkbox with touch , it automatically clicks the link also which is present in its text . I have used spannable text for making part of text as link . This is causing issue .
How can I resolve it .
Here is a simplest method. You can create a new view whose size equal the checkbox and place it over the checkbox. What's more, the view that you have just created is attached by a click listner in which you set the checkbox's state manually to trigger the visual change of the checkbox.