Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
&引用;underlineColorAndroid不是有效的样式属性;本机android应用程序中出现错误_Android_React Native - Fatal编程技术网

&引用;underlineColorAndroid不是有效的样式属性;本机android应用程序中出现错误

&引用;underlineColorAndroid不是有效的样式属性;本机android应用程序中出现错误,android,react-native,Android,React Native,我想从TextInput组件中删除下划线样式。我使用了underlineColorAndroid属性,但它不起作用 underlineColorAndroid是文本输入的一个道具,而不是React原生样式 下面是一个如何使用它的示例: <TextInput underlineColorAndroid={'transparent'} value={this.state.text} /> 这是否也适用于输入字段?

我想从
TextInput
组件中删除下划线样式。我使用了
underlineColorAndroid
属性,但它不起作用


underlineColorAndroid
文本输入的一个道具,而不是React原生样式

下面是一个如何使用它的示例:

<TextInput underlineColorAndroid={'transparent'} value={this.state.text} />

这是否也适用于输入字段?