javascript - React Native Border Radius with background color -
in react native, borderradius working background color given button stays square. going on here? js <touchablehighlight style={styles.submit} onpress={() => this.submitsuggestion(this.props)} underlaycolor='#fff'> <text style={[this.getfontsize(),styles.submittext]}>submit</text> </touchablehighlight> style ... submit:{ marginright:40, marginleft:40, margintop:10, }, submittext:{ paddingtop:20, paddingbottom:20, color:'#fff', textalign:'center', backgroundcolor:'#68a0cf', borderradius: 10, borderwidth: 1, bordercolor: '#fff' }, ... try moving button styling touchablehighlight itself: styles: submit:{ marginright:40, marginleft:40, margintop:10, paddingtop:20, paddingbottom:20, backgroundcolor:'#68a0cf', borderradius:10, borderwidth: 1, bordercolor: '#fff' }, submittext:{ colo...