开发者

ImageGetter click

开发者 https://www.devze.com 2023-04-05 08:02 出处:网络
I have added an image to a Textview with ImageGetter and HTML text, and I want to implement a click event to it.

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.


My suggestion would be have a linear layout and add ImageView and TextView. Add setOnClickListener() on image only.

Please share the result.

0

精彩评论

暂无评论...
验证码 换一张
取 消