I'm creating a game that is full screen. I'm using an image for the background and I'm drawing images on top of it. The background image looks great in all the devices, but I can't draw the overlay images in the same spot on all devices.
For example if I use
canvas.drawBitmap(overlay, 365, 85, paint);
It will align the image perfectly for phones that have 854px width. But anything lower then that it will be pushed way to the right.
I've tried playing around with dip but I can't seem to figure that out. Is there any where I can ensure that they items line up correctly on all resolutions?