Say you have a view that is a circle or a balloon, and you want to have two onClick or onTap capture layers.
For example, a mapView with a balloon on top.
The image has transparency for it to the left and right of the peak. Does anyone know how to cut this transparency so as not to absorb onClick and allow it to go to mapview instead?
Do you know the size of the bottle? If so, then find the upper left part of the balloon in the layout, and then in the method onTouchfind the current coordinates in which the touch event occurred.
onTouch
, , false ballon onTouch. , mapView.
false
Source: https://habr.com/ru/post/1793648/More articles:Erlang and sqlite - sqlOpenFileDialog C #, allows the user to enter a file name? - c #Is it possible to create a playlist of .m3u8 playlists for the iPhone? - iphoneFind non-integer values in float field - sqlPHP $_SESSION пуст после перенаправления заголовка - redirectWhat is the difference between elastic, fluid, fluid, fixed layout in CSS - cssC # Array or collection - collectionsvery strange database query result - phpAzure Diagnostic - how to get raw performance counter data - azureTake the width and height of the device - iphoneAll Articles