react-native-android-kit icon indicating copy to clipboard operation
react-native-android-kit copied to clipboard

FAB appearance broken on android 4.4

Open vonovak opened this issue 9 years ago • 3 comments

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)

fabbug

vonovak avatar Jul 24 '16 22:07 vonovak

Hello @vonovak ,

Thank you for reporting, Could you please paste the corresponding jsx code ?

adbayb avatar Jul 27 '16 16:07 adbayb

<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

vonovak avatar Jul 28 '16 22:07 vonovak

fyi you can refer to your example app which also has this issue

vonovak avatar Aug 16 '16 13:08 vonovak