Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mobile DevOps

You're reading from   Mobile DevOps Deliver continuous integration and deployment within your mobile applications

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788296243
Length 376 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Rohin Tak Rohin Tak
Author Profile Icon Rohin Tak
Rohin Tak
Jhalak Modi Jhalak Modi
Author Profile Icon Jhalak Modi
Jhalak Modi
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introduction FREE CHAPTER 2. Working with Code Repository Systems 3. Cross-Platform Mobile App Development with Xamarin 4. Writing Your First Android Application with Xamarin 5. Implementing Automatic Testing Using Xamarin 6. Configuring TeamCity for CI/CD with Xamarin 7. CI/CD for Android with Visual Studio Team Services 8. Deploying Applications on AWS 9. Monitoring and Optimizing Application 10. Debugging the Application 11. Case Studies 12. Other Books You May Enjoy

Creating the UI for the application

  1. Let's expand the Resources folder we saw in the previous screenshot, and then the layout folder in Solution Explorer. Double-click on Main.axml to open it. This is the layout file for the app's screen. By default, it gets opened in Android Designer; you can also click on the Source tab at the bottom to see the XML code for it. This layout file is the main UI file that we'll add our UI controls to, and what we'll see when we run our app once it is finished:

Let's add an input field to enter a phone number. Drag the Phone field from the Toolbox (left pane) into the Designer view of the Main.axml file:

Having the phone text field gives us the advantage of restricting the user to entering a phone number. Also, when the user taps on the input box, they'll only get a number pad instead of a full text keyboard.

Now...

lock icon The rest of the chapter is locked
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 €18.99/month. Cancel anytime