I want to avoid that the setting preferences of the user for the fonts influence the font size of the various TextView etc in my app.
What is the best way?
In the Xamarin. Forms Android MainActivity. cs, override the Resources and set the configuration as default to restrict the font size effect on the application.
To make your font size smaller or larger: On your device, open the Settings app. Search and select Font size. To change your preferred font size, move the slider left or right.
I want to avoid that the setting preferences of the user for the fonts influence the font size of the various TextView etc in my app.
Users will only change their font scale if they feel that larger (or, possibly smaller) fonts improve their use of their device. Your app should adjust to match, by using sp
units for text sizes. Users may dislike your app if your app refuses to honor their request.
What is the best way?
Do not use sp
units for text sizes, and be ready for negative reviews on the Play Store.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With