I have an UHD png image and display it on the screen using a coil AsyncImage. AsyncImage is in the Box composable. Also there is a Button in the Box and I place it over the AsyncImage with graphicsLayer modifier. The offset is 200px along x axis and 100px along y axis for example. It works because Box hasn't got its own size and it just wrap content size so Box "resolution" is also UHD.
The problem is when I open my app on the other device with other density of pixels the Button position slightly different (I guess that more density difference - more difference) than on my first device but I need completely the same positioning. How can I do that?
Thank you in advance!