Book Image

Learning Material Design

By : Kyle Mew, Nadir Belhaj
Book Image

Learning Material Design

By: Kyle Mew, Nadir Belhaj

Overview of this book

Google's Material Design language has taken the web development and design worlds by storm. Now available on many more platforms than Android, Material Design uses color, light, and movements to not only generate beautiful interfaces, but to provide intuitive navigation for the user. Learning Material Design will teach you the fundamental theories of Material Design using code samples to put these theories into practice. Focusing primarily on Android Studio, you’ll create mobile interfaces using the most widely used and powerful material components, such as sliding drawers and floating action buttons. Each section will introduce the relevant Java classes and APIs required to implement these components. With the rules regarding structure, layout, iconography, and typography covered, we then move into animation and transition, possibly Material Design's most powerful concept, allowing complex hierarchies to be displayed simply and stylishly. With all the basic technologies and concepts mastered, the book concludes by showing you how these skills can be applied to other platforms, in particular web apps, using the powerful Polymer library.
Table of Contents (17 chapters)

Chapter 4. Sliding Drawers and Navigation

In the previous chapter, we saw how Material Design applies to several everyday app components, and when designing material interfaces, you will, no doubt, include these along with many other general purpose widgets and views. There are some components, however, that are specific to Material Design, such as the sliding navigation drawer that we will be dealing with in this chapter. Regardless of side, drawers appear above all other components with the exception of the status and navigation bars. They can be thought of as existing just off screen. They can be thought of as existing just off screen as demonstrated by the following diagram:

Two support libraries are required to set up the siding navigation drawer: the v4 library and the design library. Of all the support libraries supplied by the SDK, it is the design library that is, perhaps, the most useful to the material designer. Where before, a great deal of coding was required to construct material...