I have noticed that when I want to draw a rectangle with a width of 50%x, and then set the height to that value, my rectangle is stretched out a bit.
I always thought the scale and the dips were equal horizontally and vertically, but on my phone I have found out that the xdpi and ydpi values are different, hence the stretching.
Does this mean I have to calculate all heights myself for perfect rectangles according to the xdpi/ydpi ratio? Or how should I handle this in Basic4Android?
I always thought the scale and the dips were equal horizontally and vertically, but on my phone I have found out that the xdpi and ydpi values are different, hence the stretching.
Does this mean I have to calculate all heights myself for perfect rectangles according to the xdpi/ydpi ratio? Or how should I handle this in Basic4Android?