开发者

overlay image/icon on background image in android

开发者 https://www.devze.com 2023-02-13 17:59 出处:网络
I am u开发者_JS百科sing an image as my application background. What I am trying to do is to put a small cross(like an image or icon) at where my finger touched. Does anyone knows how to do that?

I am u开发者_JS百科sing an image as my application background. What I am trying to do is to put a small cross(like an image or icon) at where my finger touched. Does anyone knows how to do that?

Thanks


I think what you want to do is to listen to the touch event and for each touch event, you can read its coordinate and display image view. Detail implementation is explained here Place image at coordinates Android.

0

精彩评论

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

关注公众号