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

Updating the WalksMainPage user interface using XAML

In this section, we will begin by updating the user interface for our WalksMainPage using XAML in order to define a series of ContextActions menu items that the user can choose from, as well as display a list of trails walks as well as the Image, Title, and Description associated with the walk trail by using a ListView to present this information.

Let's start by updating the user interface for our WalksMainPage by performing the following steps:

  1. Locate and open the WalksMainPage.xaml file which is located in the Views folder.
  2. Next, ensure that it is displayed within the code editor and enter the following highlighted code sections:
    <?xml version="1.0" encoding="UTF-8"?> <ContentPage ...

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