android - React Native - touch/gesture - overlapping views -
i have render function this. 2 fullscreen views visually overlapping each other; , there image in each view.
<view {styles.fullscreen}> <view id='view1' style={styles.fullscreen}> <touchableopacity><image source={image1} /></touchableopacity> </view> <view id='view1' style={styles.fullscreen}> <touchableopacity><image source={image2} /></touchableopacity> </view> </view> i touch response image2 not image1.
is possible have touch response image1 too, without changing view hierarchy? how can pass touch event down view1?
styles.fullscreen = {position: 'absolute', top:0, left:0, width: screenwidth, height: screenheight}
thanks.
Comments
Post a Comment