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)

Package management

Package managers are by no means essential to install web frameworks, and depending on our needs, there are several ways to install/implement web frameworks:

  • Download files directly into a project folder

  • Link to the framework via a Content Delivery Network (CDN)

  • Build the project yourself from the source code

  • Install using a package management tool such as Bower

To install Bower on your system, you will first need to install the Node Package Manager (NPM), which can be done from the Node.js website:

This is a straightforward installation, after which you can install Bower from the command window with the following:

npm install -g bower

The -g installs Bower globally, so it can be accessed from any of your projects. The most commonly used and most useful Bower commands are the following:

bower install <package>
bower update <package>
bower search <containing>
bower list

Using Bower update without specifying the package will update all...