react-native-android-kit
react-native-android-kit copied to clipboard
FAB appearance broken on android 4.4
Hi, thanks for the lib! I was trying it out successfully on android 6, but I have met an issue when running under 4.4: the appearance of FAB is broken (see picture)

Hello @vonovak ,
Thank you for reporting, Could you please paste the corresponding jsx code ?
<View style={styles.rightBottom}>
<FloatingButtonAndroid
style={[styles.fab]}
backgroundColor="#e74c3c"
icon="ic_stat_name"
onPress={this.props.onPress}
/>
</View>
...
const styles = StyleSheet.create({
fab: {
width: 56,
height: 56,
},
rightBottom: {
position: 'absolute',
bottom: 10,
right: 10,
padding: 10,
backgroundColor: 'transparent',
},
});
the screenshot is from genymotion, icon is a png file
fyi you can refer to your example app which also has this issue