Set font size in app

hello, I’m making my application… and I realized that if the cell phone user has a larger font size, it also configures the font size of all the texts of the application, both labels, buttons and more.

Is there a way to set the font size?

1 Like

Font Scale

To change FontScale, a dangerous permission (android.permission.WRITE_SETTINGS) must be requested and granted. In addition, the screen must be reloaded afterwards for the changes to take effect. However, you can query the FontScale and then adjust the FontSize of the components (texts) accordingly.

For example:

hello, your solution has an inconvenience, it must be applied to each text of the app

thanks but this is only the paid solution.

No.I used it to check the font size in my app.