I try to use this https://github.com/ArnaudRinquin/react-native-radio-buttons On Iphone it looks good, but on android it looks like here
我尝试使用这个https://github.com/ArnaudRinquin/react-native-radio-buttons在Iphone上它看起来不错,但在android上它看起来像这里
1 个解决方案
#1
0
If you can set the style props of the buttons container, you need to set the property overflow
in your js StyleSheet
like that:
如果你可以设置按钮容器的样式道具,你需要在你的js StyleSheet中设置属性溢出,如下所示:
const styles = StyleSheet.create({
containerStyle: {
...,
overflow: 'hidden',
},
});
#1
0
If you can set the style props of the buttons container, you need to set the property overflow
in your js StyleSheet
like that:
如果你可以设置按钮容器的样式道具,你需要在你的js StyleSheet中设置属性溢出,如下所示:
const styles = StyleSheet.create({
containerStyle: {
...,
overflow: 'hidden',
},
});