Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering Xamarin UI Development

You're reading from   Mastering Xamarin UI Development Build robust and a maintainable cross-platform mobile UI with Xamarin and C# 7

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781788995511
Length 584 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Steven F. Daniel Steven F. Daniel
Author Profile Icon Steven F. Daniel
Steven F. Daniel
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Title Page
Dedication
www.PacktPub.com
Contributors
Acknowledgments
Preface
1. Setting Up Visual Studio for Mac 2. Building a PhotoLibrary App Using Android FREE CHAPTER 3. Building a SlidingTiles Game Using Xamarin.iOS 4. Creating the TrackMyWalks Native App 5. MVVM and Data Binding 6. Navigating Within the Mvvm Model 7. Adding Location-based Features Within Your App 8. Customizing the User Interface 9. Working with Animations in Xamarin.Forms 10. Working with the Razor Templating Engine 11. Incorporating Microsoft Azure App Services 12. Making Our App Social Using the Twitter API 13. Unit Testing Your Xamarin.Forms Apps 1. Other Books You May Enjoy Index

Creating and implementing Styles in your App


In this section, we will be taking a look at the various styles that are offered by the Xamarin.Forms platform, which you can implement in your XAML pages. Styles can be created to customize each control's appearance, and we will look at how to create Global Styles, which are made available globally by adding them into the application's ResourceDictionary, to avoid duplication of styles across your XAML pages and controls.

Lastly, we will also look at how we can define Implicit and Explicit Styles, how we can apply these to controls in your XAML pages, and how we can work with Device styles that come as part of the Xamarin.Forms platform and apply these to your Label controls in your XAML pages.

Creating and implementing Global Styles using XAML

In this section, we will take a look at how to update our application's App.xaml file and define a Global Style that can be used by each of our XAML pages in our TrackMyWalks app. The advantage of declaring...

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 €14.99/month. Cancel anytime
Visually different images