[Android] Border radius overflow + missing style support
Hi team, would it be possible to support the styles borderTopLeftRadius, borderTopRightRadius, borderBottomLeftRadius and borderBottomRightRadius on Android as these don't seem to be supported at the moment and no mention is made of this in the documentation? Also at the moment overflow doesn't crop a view to within the border if a border radius is specified on android, an example of this is here, thanks: https://rnplay.org/apps/ktczIA
Hi @mattds, this is not supported on Android yet. Would be happy to review a pull request.
PR would be welcome. Good place to start looking would be https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewBackgroundDrawable.java#L216 we can use addRoundRect method version with separate radius for each side. Note that ImageView has it's own logic for handling rounded borders.
Hi, I've submitted a pull request as suggested https://github.com/facebook/react-native/pull/3035. Please review when you have a chance to, thanks.
thanks to you @mattds ! Closing this and let's continue discussion on #3035
