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 of data-bound fields using ValueConverters
and ImageConverters
.
In the next chapter, you'll work with the various animation classes that come as part of the Xamarin.Forms
platform, so that you can customize the appearance of your user interface and...