Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Cross-platform UI Development with Xamarin.Forms

You're reading from  Cross-platform UI Development with Xamarin.Forms

Product type Book
Published in Aug 2015
Publisher
ISBN-13 9781784391195
Pages 330 pages
Edition 1st Edition
Languages
Author (1):
Paul Johnson Paul Johnson
Profile icon Paul Johnson

Table of Contents (22) Chapters

Cross-platform UI Development with Xamarin.Forms
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. In the Beginning… 2. Let's Get the Party Started 3. Making It Look Pretty and Logging In 4. Making Your Application Portable 5. Data, Generics, and Making Sense of Information 6. A View to a Kill 7. Connect Me to Your Other Services 8. What a Bind! 9. Addressing the Issue 10. This is the World Calling… 11. A Portable Settings Class 12. Xamarin Forms Labs 13. Social Media into the Mix 14. Bringing It All Together Index

Chapter 6. A View to a Kill

Before I go any further, this chapter has a tenuous link to the James Bond movie of the same name. You'll see why shortly. This chapter concentrates on the user interface and how to ensure that you are able to create the same application for all the supported platforms with minimum fuss.

In this chapter, we will:

  • Create a Xamarin.Forms application that functions on all the three supported platforms based on an application that only runs on one

  • Extend the user interface on all three platforms

  • See how the choice of graphics heavily influences how the end user feels about the application

Touch-a-touch-a-touch me


There is an awful lot to be said about how Apple approached the user interface and something known as user experience. I'm not an Apple fanboy by any stretch of the imagination (not that you'd guess if you've seen my desk recently!), and designing for iOS can be torturous at times, but I doff my cap to them on how it feels.

A former colleague of mine (who was an Android advocate) once said that he would be buying his parents an Apple iPhone 5S over the latest Samsung phone. The reason was that while Android is extremely powerful, for the end user, Apple wins every time. It just works.

When you examine any iOS application from start to finish, everything is designed to follow a familiar and friendly style; even in some of the more poorly designed and constructed apps, this familiarity and friendliness is still there. The graphics are bright, buttons all have soft edges; everything is designed so that the end user has the best possible experience, irrespective of the...

Summary


This has been a very long chapter, but it is a chapter that takes you from an okay looking app to an app that looks far more professional. We looked at the problems of how to create a custom view across the three main mobile platforms, how to take the code meant for just one platform, and how leveraging Xamarin Forms can create three applications with very little in the way for developers. Having said that, anything more than a basic UI requires customization on the platform level.

In the next chapter, we'll look at how to connect to various types of web services.

lock icon The rest of the chapter is locked
You have been reading a chapter from
Cross-platform UI Development with Xamarin.Forms
Published in: Aug 2015 Publisher: ISBN-13: 9781784391195
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}