Text positioned differently on device.

Hello.

I’m using a text object, and when I try out my app on my Nexus 7, the text is to far up.

Why is that?

Here’s a screenshot from the simulator:
lGhp3gt.png

Here’s a screenshot from the device:

nAtC4eW.png

Windows, OS-X, iOS and Android all generate text a little bit different.  Since I don’t know what OS you’re running the simulator on, it could be putting a little more padding on the top than Android is.

Rob

I’m running the simulator on Windows 10.

Also, will the text be exactly that high on every android device I try it on?

Should be reasonably close. There may be variations between older and newer versions of Android.

Thanks!

Windows, OS-X, iOS and Android all generate text a little bit different.  Since I don’t know what OS you’re running the simulator on, it could be putting a little more padding on the top than Android is.

Rob

I’m running the simulator on Windows 10.

Also, will the text be exactly that high on every android device I try it on?

Should be reasonably close. There may be variations between older and newer versions of Android.

Thanks!