I have added an image to a Textview with ImageGetter and HTML text, and I want to implement a click event to it.
How can I do that? Can you provide an example? I could not find any.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My suggestion would be have a linear layout and add ImageView and TextView. Add setOnClickListener() on image only.
Please share the result.