Book Image

Mastering Xamarin UI Development

By : Steven F. Daniel
Book Image

Mastering Xamarin UI Development

By: Steven F. Daniel

Overview of this book

<p>Xamarin is the most powerful cross-platform mobile development framework. If you are interested in creating stunning user interfaces for the iOS and Android mobile platforms using the power of Xamarin and Xamarin.Forms, then this is your ticket.</p> <p>This book will provide you the practical skills required to develop real-world Xamarin applications. You will learn how to implement UI structures and layouts, create customized elements, and write C# scripts to customize layouts. You will create UI layouts from scratch so that you can tweak and customize a given UI layout to suit your needs by using Data Templates.</p> <p>Moving on, you will use third-party libraries – such as the Razor template engine that allows you to create your own HTML5 templates within the Xamarin environment – to build a book library Hybrid solution that uses the SQLite.Net library to store, update, retrieve, and delete information within a SQLite local database. You’ll also implement key data-binding techniques that will make your user interfaces dynamic, and create personalized animations and visual effects within your user interfaces using Custom Renderers and the PlatformEffects API to customize and change the appearance of control elements.</p> <p>At the end of this book, you will test your application UI for robust and consistent behavior and then explore techniques to deploy to different platforms.</p>
Table of Contents (19 chapters)
Mastering Xamarin UI Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Running the TrackMyWalks UITests using Xamarin Studio


Prior to running your UITests within Xamarin Studio, you will need to add your iOS or Android apps to the Test Apps node of the Unit Tests pane, or alternatively specifying a path to your app within the AppInitializer class. If you don't do this, your tests will continue to fail until you add these projects to your solution.

In this section, we will look at how to go about adding your apps to the Test Apps node within the Unit Tests pane. Let's look at how we can achieve this with the following steps:

  1. To add your iOS and Android apps to your TrackMyWalks.UITests project, select the View menu option, then choose the Pads sub-menu item, and then the Unit Tests option, as shown in the following screenshot:

  2. Next, right-click on the Test Apps item within the Unit Tests pane and click on the Add App Project. This will display the Select a project or solution dialog that allows you to select each of your projects for the various platforms, as...