Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 33579 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
In a Xamarin.Forms project, setting the Fontsize to a double or to NamedSize gets overridden by the accessibility setting in the Android. While in a standalone Xamarin.Android project, the behavior is what one would expect, the double does not get overridden, but the NamedSize does.
Within the Xamarin.Forms iOS, neither the double or NamedSize is overridden, which is the complete opposite in Xamairn.Forms - Android.
I believe we have two bugs. One, the Xamarin.Forms Android fontsize set to a double, should not be overridden. Two, the Xamarin.Forms iOS fontsize set to a NamedSize should be overridden by the accessibility setting.
Links to Xamarin Forums that are addressing this issue...
I have a somewhat different opinion. Both double and NamedSize should function similarly. There should be a property to toggle accessibility on and off.
true => font size should change
false => font size should not change
In either case, the value assigned to FontSize should NOT change.
Both Android and iOS should behave similarly.
I think NamedSize is another way to use hard-coded system values. I don't think it changes with respect to accessibility.
IMO the entire point of a developer using named sizes is to get the system-supplied (dynamic) font size. I very strongly believe that named sizes should always honor the accessibility settings.
I also very strongly believe that no fixed font size should ever change automatically. A global setting would be too imprecise (what if you use a third-party control that handles accessibility differently than the rest of your code?), and a per-control setting would be too tedious.
A better approach if you want adjustable sizes without using named sizes would be to have a new unit so you could specify a relative font size (i.e., a base number that is adjusted according to the accessibility settings).
Any updates on this? It's still an issue 2 1/2 years after being reported....
It's not just font size too. Android has a setting below font size called "display size" that will resize everything on the app. would like to be able to disable this...