How do I avoid the operative mobil system change the size font in my app?

Hi everybody. I have seen that the people what has the size of the font in their operative mobil system, big, the size of the font in my app change too and then the apk doesn't work well.
What can I do to resolve that? I don't wan't the size of the font change, I have done responsive but with this change in the operative system is for nothing.

Thank you very much

Please show us what is happening.

Well, some of the Users of your App do want the font size to be changed and they probably have good reason to - I assume they are using a larger font?

You can either redefine your App interface so that it does work well if the System font size changes or perhaps warn the Users before they install that it's not compatible with System font changes.

1 Like

Hi. I have done an app focused on children, its for development and improvement of reading comprehension. The app works perfectly and its redesigned depending on the device being used.
The problem start when that app is downloaded to a parent's mobil who has the font size on their mobil much larger than normal in order to be able to see whatsapp, google, email...whithout having to put on their glasses, in this cases the app open with that font size and its very dificult to work in this way and the children actually, don't need that size.
I want to know, what can I do to solve this problem and so that the font size doesn't change to the size of the mobile operating system that downloaded it.

This means that there is no way to maintain the font size that has been programmed without changing it to the font size that the operating system has?

It means there is no point in trying to force a User to use a font size they are uncomfortable with - they will simply uninstall your App.

There are ways of handling this:

  • parents change the system font size on the parent's cell temporarily so the children can use the parent's phone to use your app. System >Accessibility > Visibility enhancements > Font size and style > Font size . When the child is finished, the parent's can revert to their original accessibility setting.

  • I have an old tablet I gave to my grandchild which has several games I programed for her loaded. The phone has no service phone service. She runs the program by asking for
    'her' phone to use after she is finished with her homework.

Are you aware you can do something similar using the phone you no longer use for phone calls. The phone apps by using the phones connection to the Internet which still works after calling is deactivated. She also does this with one of my old phones.

  • sorry, I don't have a way that will override system phone settings but either of these above methods will allow the children to run.

  • not having a copy of your app I don't know if just setting the font size in Screen.Initialization would temporarily override the system setting. You could also try that.

The app works perfectly, if the size of the font on the operative mobil system is changed, the size in the app change too.
Thanks for your answer

I dont agree, I think is easier for the parent to uninstall the app when they think the app doesnt work correctly because the dont know the problem is their size font in the operative mobil system, but thank you very much for answer me.

You can compromise by including a button (or two buttons) that increase/decrease the font size in your App - this ignores the system setting because it's at runtime in your App. So then the User has control.

Thank you very much I had thought that too. In going to try to do

Set your regular font size to a global variable, then allow increments of +1 and -1 via buttons. If you put all of the affected components in a Block List, they can all be changed in a For Loop.

The settings extension offers the property FontScale which might be useful for your project

Get font scale from the settings of the device, from settings > display > font = small/normal/large/huge

Taifun

Thank you but the idea is that the user don´t have to change the size of the operative mobil system.I will try to put buttons inside the app to return the size of the fonts.