Skip to content

[Android, Release] Image is not shown correctly when changing device screen resolution #69

@Tregan

Description

@Tregan

On Android, when my app is built for Release, CachedImage (using svg) is not rendered correctly when the device's screen resolution is not set to the default.

For example, on my Samsung Galaxy S22 Ultra I can set the screen resolution to HD+, FHD+(default) and QHD+.
The red square is the image's background color, indicating the full size of the image's container.

Only on FHD+ the image looks as it should:
Image

This is how the image looks when the app is started with screen resolution set to HD+:
Image

And this is the image with the screen resolution on QHD+:
Image

This probably has something to do with the device density.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions