stari Active Member Licensed User Longtime User Mar 27, 2015 #1 I made application for my friend. Tested on HTC Wildfire and Sensation and on Samsung Galaxy TAB.Work OK. Then i tested on NEXUS 5 . Graphics was Ok, but fonts was too large. First i create label with Width and Height. The Text.Size i specify as Label.Height * 0.8. On NEXUS this metod dont work. Or i need somthing to recalculate ??
I made application for my friend. Tested on HTC Wildfire and Sensation and on Samsung Galaxy TAB.Work OK. Then i tested on NEXUS 5 . Graphics was Ok, but fonts was too large. First i create label with Width and Height. The Text.Size i specify as Label.Height * 0.8. On NEXUS this metod dont work. Or i need somthing to recalculate ??
klaus Expert Licensed User Longtime User Mar 27, 2015 #2 This is wrong Label.Height * 0.8 You need to take into accout the scale of the screen. This should do it: Label.Height * 0.8 / GetDeviceLayoutValues.Scale Upvote 0
This is wrong Label.Height * 0.8 You need to take into accout the scale of the screen. This should do it: Label.Height * 0.8 / GetDeviceLayoutValues.Scale
stari Active Member Licensed User Longtime User Mar 27, 2015 #3 Thks. I forget on Scale. Sory, older mann, hehehe. Thks, klaus. Upvote 0
klaus Expert Licensed User Longtime User Mar 27, 2015 #4 stari said: older mann Click to expand... Don't worry, me too . Upvote 0
stari Active Member Licensed User Longtime User Mar 27, 2015 #5 klaus said: Don't worry, me too . Click to expand... Hm, i have question: can i send you my app for testing ? App is not yet finished, but i wish to know, if i can put this my work on GooglePlay and will work on all devices. App zipped is 0 Mb long so i can't put it on forum. Thank, Klaus. A, old? I'm 60. Upvote 0
klaus said: Don't worry, me too . Click to expand... Hm, i have question: can i send you my app for testing ? App is not yet finished, but i wish to know, if i can put this my work on GooglePlay and will work on all devices. App zipped is 0 Mb long so i can't put it on forum. Thank, Klaus. A, old? I'm 60.
stari Active Member Licensed User Longtime User Mar 27, 2015 #7 klaus said: I sent you a PM. Click to expand... ok Upvote 0