O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, you learned how to customize DataTemplates to lay out your Views beautifully and neatly in your application's user interface by modifying your ContentPages (Views). You learned how to create and implement the various styles in your XAML pages, prior to getting accustomed to working with the PlatformEffects API to customize the appearance by creating a ButtonShadowEffect and LabelShadowEffect class for both the iOS and Android platforms, so you can style native control elements that can be rendered and used with the XAML pages for each platform. Next, you learned how to set up your margins and padding for each platform using the OnPlatform XAML attribute, before moving on to learning how to manipulate the visual appearance ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required