Android Question Views added by Designer and by Code has diffent Sizes

ernschd

Active Member
Licensed User
Longtime User
Hi,

I noticed that, for example, the text size 16 of an EditText is different when the view is added via Designer than via code.

Left was added via code, right via the designer


Are they different units? I thought the text size is calculated automatically?
Which is the "correct" size?

Thanks in Advance.
 

Attachments

  • EditTest.zip
    8.9 KB · Views: 50
Top