I need to set label text size, currently i used FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label));
it work good for mobile devices but it very small for tablets
how can i set responsive size for all devices
FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label));
Hi manikandan, you can try following code. Here you can mentioned required size for both tablet and mobile device.
<Label Text = "Test">
<OnIdiom X:TypeArguments ="x:Double" Phone = "your size" Tablet = "your size" />
Had you considered defining styles you can use throughout your app?
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies