I am trying to render a text input in react-native(android) with and a line below it which am getting from borderBottomWidth property put when am typing there are two lines appearing which is not looking good and couldn't remove it i tried giving underlineColorAndroid='transparent' but didn't work
import * as React from 'react';
import { Text, View, StyleSheet,TextInput } from 'react-native';
import Constants from 'expo-constants';
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<TextInput
autoCapitalize='none'
autoCorrect={false}
underlineColorAndroid='rgba(0,0,0,0)'
style={styles.textInput}
/>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
paddingTop: Constants.statusBarHeight,
backgroundColor: '#000',
padding: 8,
},
textInput: {
paddingVertical: 0,
marginHorizontal: 10,
textAlign: 'center',
height: 18,
fontSize: 14,
alignSelf: 'flex-start',
borderStyle: 'solid',
borderWidth:0,
borderBottomWidth: 1,
color: '#1ac9e8',
minWidth: 48,
borderColor: '#1ac9e8',
fontFamily: 'Monaco'
}
});
