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 now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Learning Material Design

You're reading from   Learning Material Design Master Material Design and create beautiful, animated interfaces for mobile and web applications

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785289811
Length 186 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Nadir Belhaj Nadir Belhaj
Author Profile Icon Nadir Belhaj
Nadir Belhaj
Kyle Mew Kyle Mew
Author Profile Icon Kyle Mew
Kyle Mew
Arrow right icon
View More author details
Toc

Applying material to older devices

The support repository we downloaded in the last chapter provides code that allows us to apply our designs on handsets going all the way back to Android 1.8, although the further back you go, the fewer features are supported. For the purpose of this book, we will make our applications backwards compatible as far back as API 16.

To achieve this, we will be using code provided by the AppCompat support library; in doing so, we will encounter one of the most significant material components: the Toolbar, which replaced the previous, less flexible Action Bar.

In older versions of Android, unless switched off, the Action Bar would sit at the top of each app and could contain our title along with any of the option menu items we chose, which were expressed as text, icons, or both. It was not really considered a true part of the UI, but rather an element that sat outside our design.

The new toolbar, although often acting as our app's action bar, is far more flexible...

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 $19.99/month. Cancel anytime