Cannot detect touch event with holed image/panel

Cannot detect touch event with holed image/panel

BY 18 Jun 2013 Native Application Development

Hi,

I have two controls: an image panel on top (to be addcontrol first) and a table view at the bottom (to be addcontrol later). The top image panel has a hole and works like a border to reveal the tableview below. The problem is that the image panel catches all touch events, even on the holed region where I want to detect for the table view.

A possible solution is that I can split the image into 4 and add as a border but i think it is like a hack and there should be a better way, like clipping or forward events but I have not found any so far. 

Hope someone would encounter the same problem and know a better solution. Thanks.

Written by