How to place buttons on a zoom&pan imageView

混江龙づ霸主 提交于 2019-12-13 17:43:11

问题


I would like a ImageView with buttons on it. The ImageView should have zoom/pan functionalities, while the buttons are zoomed as well, so they are always on the same position on the image.

ATM I use the touchImageView (How can I get zoom functionality for images?)

Anyone has a (easy) solution to postion the Button ? Or should i calculate it like the Zoom/pan imageview works? Also tell me if i should use different way to zoom and pan on a ImageView to make this work..

来源:https://stackoverflow.com/questions/9767294/how-to-place-buttons-on-a-zoompan-imageview

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