react native button top right
<View> <Image source={require('../images/AppIntro/1.png')} style={{ width: '100%', height: 150 }} /> <Icon name="md-close" style={{ position: 'absolute', right: 5, top: 5, }} /> </View>
Source: stackoverflow.com
react native position
<MyFunctionComp onLayout={(event) => { event.target.measure( (x, y, width, height, pageX, pageY) => { doSomethingWithAbsolutePosition({ x: x + pageX, y: y + pageY, }); }, ); }} />