To get what you are looking for, you will have to wrap the text box inside another view. Changing borderRadius in the view will not use a different BG color:
<View style={styles.container}> <View style={styles.button}> <Text style={{ backgroundColor: 'transparent' }}>Text</Text> </View> </View> const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: 'red', }, button: { backgroundColor: 'green', borderRadius: 50, width: 100, height: 100, textAlign: 'center', flexDirection:'row', alignItems:'center', justifyContent:'center' } });
Check out this demo.
source share