Android Question ACToolBarLight font size

techgreyeye

Member
Licensed User
Longtime User
You can check the text size of one of the text fields (Label, EditText, Button, ...) and then set it accordingly. The difference should be small.

I tried that, but it doesn't change when I change the font size in android settings. All font size settings are returning the same size.
 
Upvote 0

techgreyeye

Member
Licensed User
Longtime User
I have that in my code already, that's not my problem.

It's that the size returned from lmAudits.textsize stays the same no matter what the android text size is set to, even though the text size of the button created in the designer is scaled appropriately.

B4X:
Dim cs As CSBuilder
cs.Initialize.Size(lmAudits.TextSize).Append(Starter.appName & " - Dashboard").PopAll
ACToolBarLight1.Title = cs
Msgbox("Text size is " & lmAudits.TextSize,"info")

In the designer, the font size is set to 20, the reported size is 15.623 whatever my system font size is set to in settings.
 
Upvote 0
Top