Android - Drawing on the different devices
In my app I create a canvas and add some bitmaps on it. The problem is that the objects are adding why touch the screen. So on one screens they appear on the middle on different the same, but their position in pixels are different. I mean that I got tablet and smartphone. When I touch one the object appear on both devices (multiplayer) but its not in the same place, because its passing the position by x and y. If someone understand what I mean, can you help me? Probably it must have something common with counting the ratio. I am guessing the problem you are having is that the screens are