In this section, we will take a look at how to update the user interface for our WalksMainPage to
apply Device Styles to our XAML elements using the Device.Styles class so that our control elements will take on each of the platform-specific styles of the platforms that our app is running on.
Let's start by updating the user interface for our WalksMainPage by perf
orming the following steps:
Locate and open the WalksMainPage.xaml file, which is located in the Views folder, ensure that it is displayed in the code editor, and enter the following highlighted code sections:
<?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" ...