August 2016
Beginner to intermediate
1049 pages
23h 17m
English
Every platform as we know has its own screen metric system, and while Xamarin.Forms does a great job of creating a cross-platform UI and following the platform specifics, we often might need some platform tweaking.
Fortunately, Xamarin.Forms has an out-of-the-box feature that we can use in XAML and in code.
Xamarin Forms (Portable) project; give it the name XamFormsOnPlatform.MainPage.MainPage.xaml file, remove the default label, and add the following in the ContentPage tag:<ContentPage.BackgroundColor> <OnPlatform x:TypeArguments="Color"> <OnPlatform.iOS>#FF0000</OnPlatform.iOS> ...
Read now
Unlock full access