Identifying image area clicked in Android?

时光怂恿深爱的人放手 提交于 2019-12-12 12:43:11

问题


Is there a way to determine in an Android app which area of an ImageView (x,y coordinates, for instance) was clicked by a user? Thanks.


回答1:


Checkout MotionEvent and this other question



来源:https://stackoverflow.com/questions/3078794/identifying-image-area-clicked-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!