How to add click action for the ImageSpan

后端 未结 5 764
我寻月下人不归
我寻月下人不归 2020-12-15 06:56

I have a ImageSpan set in the TextEdit. And I want to add the action - when user click on the ImageSpan, it will popup a dialog and show the big image.

I checked the

5条回答
  •  猫巷女王i
    2020-12-15 08:02

    First, make the area clickable from the properties.
    Next, add OnClickListner for the same.

    Do your custom action onclick method.

提交回复
热议问题