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

Drawer design

Some of the most useful and frequently used material components are sliding drawers that slide in and out of the screen when needed. The most widely used of these is the NavigationView, which slides in from the left and forms a top level menu, providing access to the rest of the app's content. More often than not, it will contain a header that can display an image and/or pertinent text.

Drawer design

Prior to the design library, components like the NavigationView had to be constructed from other views, and although the library vastly simplifies this process and saves us from having to implement many material principles by hand, there are still several guidelines that we need to be aware of. The best way to appreciate these guidelines is by building a navigation sliding drawer from scratch. This will involve creating the layouts, applying material guidelines regarding component ratios, and connecting all this together with Java.

The layout

Setting up a working sliding drawer with a header...

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