Book Image

Learning Material Design

By : Kyle Mew
Book Image

Learning Material Design

By: Kyle Mew

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)

Touch feedback

One of the primary objectives of Material Design is to create a tactile experience for the user. It is essential to inform the user instantly, whenever they interact with any active component. This can be done in a variety of ways, such as increasing the elevation of a view upon contact, but the most common and stylish way is the ripple effect animation, which, as its name suggests, sends a ripple of color across a view, layout, or screen, emanating from the point of contact.

Ripple animations

The ripple animation effect is one of the most widely recognized material animations and provides a great example of what Google refers to as responsive interaction. Ripples are applied automatically to clickable widgets such as buttons, but there are many situations where they would be perfectly applied to other views, such as image and text views, or even entire layouts.

Fortunately, adding the ripple touch response to other views and screen components is remarkably simple. The following...