I am doing a notepad application.In that we have to attach an image to Notepad(which is using Edittext for typing)
I am getting the image by parsing an html string which contains image tag.
Spanned sp=Html.fromhtml(string). I am using getdrawable mehod for getting image
and adding the image to edittext
But i dont know how to put an onclick listener to that image bcoz I am adding that image in the form of (Spanned). What my exact need is like i would be able to remove/replace the image while clicking on the image. please help me in this issue