प्रतिक्रिया मूल के साथ प्रतिक्रियात्मक सीमा त्रिज्या प्रतिक्रिया, borderRadius
काम कर रहा है लेकिन बटन पर दिया गया पृष्ठभूमि रंग एक वर्ग रहता है। यहाँ क्या हो रहा है?पृष्ठभूमि रंग
जे एस
<TouchableHighlight
style={styles.submit}
onPress={() => this.submitSuggestion(this.props)}
underlayColor='#fff'>
<Text style={[this.getFontSize(),styles.submitText]}>Submit</Text>
</TouchableHighlight>
शैली
...
submit:{
marginRight:40,
marginLeft:40,
marginTop:10,
},
submitText:{
paddingTop:20,
paddingBottom:20,
color:'#fff',
textAlign:'center',
backgroundColor:'#68a0cf',
borderRadius: 10,
borderWidth: 1,
borderColor: '#fff'
},
...
सिर्फ एक अनुमान, 'BorderStyle देने की कोशिश: '' submitText' – Cherniv
नहीं, यह फ्लॉप काम दुर्भाग्य – Chipe
जो पर्यावरण पर आप परीक्षण कर रहे हैं करने के लिए solid''? आईओएस या एंड्रॉइड? – Cherniv