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 SplashPage interface using XAML

In this section, we will begin by defining the user interface for our SplashPage using XAML. This page will only be used and displayed whenever we launch our TrackMyWalks.Android project and will essentially display an image that fills the whole screen.

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

  1. First, create a new Forms ContentPage XAML called SplashPage, like you did in the section entitled Creating the WalksMainPage interface using XAML, located within this chapter.
  2. Next, ensure that the SplashPage.xaml file is displayed within the code editor and enter the following code snippet:
    <?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" ...

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