textsize problem on different screen size

djpero

Member
Licensed User
Longtime User
which is best medthod to get proporcional text size on all screens? I'm develop on HTC One X, text is much smaller on small screen devices, is not proporcional.
 
Honestly, I am trying to avoid Designer script, and put them all in code. Does there exist a possibility to do it within the code?
 
Upvote 0
This is example with Designer Script. What am I doing wrong?

This is how that look on 720x1280 HTC One x:
 

Attachments

  • rf1.png
    rf1.png
    72 KB · Views: 530
  • 2012-11-14_10-41-04.jpg
    2012-11-14_10-41-04.jpg
    39.4 KB · Views: 444
Upvote 0
This is example with Designer Script. What am I doing wrong?

This is how that look on 720x1280 HTC One x:

Hi djpero,
You must add this command before.
AutoScaleRate=0.5 <= value between 0 - 1
Important! All of the layouts must use scale 320*480 or 480*320

Best regards
Theera
 
Upvote 0
Not helping so far. Panel is not stretched to the bottom of application with any value of autoscale rate. I think problem is ratio between 320x480 and HD 720x1280.
 
Upvote 0
Yes... that is the solution....Klaus.... I using percents in adding view in code, and that's almost same at Designer script.

Is textsize on views affected with autoscale?
 
Last edited:
Upvote 0
Back
Top