On my Android app, I have a screen with an image.
The image is 600px wide. On my Galaxy SIII, this looks how I want it to look. But on phones with double the resolution it looks really small.
With shape objects that I define in xml
, it's easy to define the width in dp units so it looks consistent on all phones.
But how do I do the same with an image that is physically only a certain amount of pixels?