In my Android app I have an ImageView which displays an image from assets. What I need to do is to display a text almost centered in the image (what I mean by almost centered is aligned to a rectangle which is near from the center of the image). I know the (x, y) coordinates of this point (in pixels), but when I switch from device to device, of course, this pixels vary. I have tried using dp, with no luck.
So, what I want to do is to display text inside this rectangle. I have the (x, y) coordinates of each point of the rectangle (in pixels relative to the emulator).
How can I do to make that design responsive?
Thank you