Android Question Font Size for App ignoring Android settings?

adriano.freitas

Active Member
Hi!

Is there a way to set a font size for general use in the app, including message boxes, etc? I ask because much of the layout I made is impaired when the user in Android settings sets a large font size for Android. I wanted a way to, at least in the app, ignore this font size setting and use the one I set.

Force
 

Marvel

Active Member
Licensed User
Get the font scale of the device and divide all the font sizes of all your views by the font scale
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
In most cases it is a bad idea to ignore the user setting.

Check this code:

You can pass CSBuilder to the various dialogs and set the font size.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…