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

Creating the WalksMainPage interface using XAML

In this section, we will begin by defining the user interface for our WalksMainPage using XAML. This page will be used to display a list of trail walks information, as well as information relating to the distance and difficulty of each trail. There are a number of ways you can go about presenting this information, but for the purposes of our app, we will be using a ListView to present this information.

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

  1. First, create a new folder within the TrackMyWalks project called Views, as you did in the previous section for Models.
  2. Next, right-click on the Views folder, and choose Add | New File... from ...

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