O'Reilly logo

Xamarin Studio for Android Programming: A C# Cookbook by Mathieu Nayrolles

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

The multiscreen application

Our goal in this subsection is to have two screens and two activities. The first activity will contain a simple button to access the second activity, while the second activity will have a button to return to the first activity.

Getting ready

In order to follow this recipe, you must have Xamarin Studio or Visual Studio and running. We have created a new project dedicated to experiencing graphical interfaces. We have named this project GraphicalInterfaces.

How to do it...

The first thing is to have a GraphicalInterface project created, as stated in the Getting ready section. A new project created with Xamarin will have a default activity and some code in it:

  1. Create a second activity:

    The first step is to create the second activity ...

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