I’ve noticed that hard coded Top/left positions (gathered via code) from the avd do not correspond to the same points on my android device.
Basically I have a map image as a panel with another panel containing a position indicator (like x marks the spot) works fine in the avd, but there is a significant offset on the phone I’m using to test. Concerned such hard coding will cause issues on other phones too. Any suggestions?
You should use ‘dip’ units (device independent pixel). For example:
By using ‘dip’ units the actual value is scaled based on the device scale.