Is it normal that this two methods doesnt result to the same size ? The fontsize when set in .cs is much bigger.
FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label))
Which platform do you test on?
I configured the FontSize in Xaml and code-behind for two labels on iOS and Android:
They are displayed with the same size.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies