Skip to content

the image does not stretch over the entire width of the screen #16

@rogoja

Description

@rogoja

the image does not stretch over the entire width of the screen.

my component:

return (
             <CachedImage style={styles.profileAvatarImg} source={{uri: userInfo.avatar}}/>
)

StyleSheet:

profileImageImg: {
        width: Dimensions.get('window').width,
}

or

profileImageImg: {
        width: '100%',
}

Indenting left and right appear:
Screen_Shot_2017_11_22_at_6_11_33_PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions