I have been making an app and i send a beta version to my friend to test it out. My version seems to be working fine and in correct ratio but my friend seems to have a problem. The entire app seems congested when used in a 720p resolution. My device is 1080p and my friend has a 720p. The issue seems to be occurring on different resolutions. I have my sizing set to responsive.
You should use % for dimensions (or programmatically recalculate the size expressed in pixels as percentages) because the dimensions expressed in pixels may appear completely different in devices with a different pixel density than the one where you created the application.
For fonts, take a look here:
However, this is not enough as different devices can have different default font size. Check this link for a possible solution:
Okay, I understand. Then I really can’t help you on this problem The font is normally shown on all real devices where I tried your apk (from an Amazon Fire 5 gen. to a Samsung Note 8) and on many devices emulated with Geanymotion.
i have same problem, on my device (where i also use to live test) is working perfectly but on my friend devices the text is not displaying properly( like only half of the length are displayed). i just set the font size to 15% and bold. i also tried using @Taifun system extension but didn’t work. @Kodular please look into this.
I believe it does however that’s something we don’t see, since font are in sp and uses same calculation as for dp but with an exception for sp which has Scale-independent Pixels.
Designer fontsize 14 --> Scale-independent Pixels 0.85 = Small, 1 = Standard, 1.15 = Large, 1.3 = Very
Tablet fontsize 14sp x density 1 = Small 11.9, Standard 14, Large 16.1, Very 18.2
Mobile fontsize 14sp x density 2 = Small 23.8, Standard 28, Large 32.2, Very 36.4
Mobile fontsize 14sp x density 3 = Small 35.7, Standard 42, Large 48.3, Very 54.6