I have a textview with an attribute drawable_right as shown below in the xml file. I want to make only this drawable clickable, so that when the user click the drawable part of the textview a certain aktion occure. Also i have checked some questions on stackoverflow but most of them are using spannable which needs a delimiters to be specified, and in my case, there are no delimiter i can provide.
Is there any way to make the drawable part of the TextView clickable? XML:
<TextView
....
....
android:clickable = "true"
android:drawable_right = "@drawable/accept"/>
No comments:
Post a Comment