Scaling image dimension

41 views Asked by At

I have an image that should cover the dimension of the screen, how can I do?

logoPor: {
        alignItems: 'flex-end',
        resizeMode: 'cover',
        height:40,
        justifyContent: "center",
    }

In this way the image resulting zooming and only a part is showed.

1

There are 1 answers

0
Jack23 On BEST ANSWER

I have resolved using:

logoPor: {
        alignItems: 'flex-end',
        resizeMode: "stretch",
        justifyContent: "center",
        height: 50,
        width: 350,
        borderWidth: 1
    }