Android Question Please Tutorial for TextScale on Designer Script

luciano deri

Active Member
Licensed User
Longtime User
I talk about font dimension of label and edittext, i tryed a app in 5" and 10" display and component are scaled but font is same.
 
Upvote 0

luciano deri

Active Member
Licensed User
Longtime User
Where is the error? In attach you find a simple example of layout, if i see with cloud any resolution the text size is not scaled.
 

Attachments

  • lay_lice.bal
    6.2 KB · Views: 198
Upvote 0

luciano deri

Active Member
Licensed User
Longtime User
L'ho provato meglio, funziona. Ho notato che l'height degli edit text non va indicato come costante all'interno dello script, ma solo proporzionale. Altrimenti se il font cresce, il contenuto viene tagliato in altezza.
----
I felt better, it works. I noticed that the height of the edit text should not be specified as a constant in the script, but only proportional. Otherwise if the font grows, the content is cut in height.
 
Upvote 0
Top