Closed sarovin closed 7 years ago
I think it's not possible directly for android. You have to override shape attribute for button style.
Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/android-borderbottomwidth-on-touchableopacity-dont-work
Product Pains has been very useful in highlighting the top bugs and feature requests: https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
You can achieve this by setting borderStyle = "Solid" and then specify your desired borderBottomWidth. It works!!! 🎉
{
borderStyle: "solid",
borderBottomWidth: 1
}
also make sure you hide the default textinput underline in android by calling underlineColorAndroid="transparent"
inside <TextInput />
tag
Hi, i have a TouchableOpacity component with this style:
The result is this:
Can't i set borderBottomWidht for android Platform?