O'Reilly logo

Android 5 Programming by Example by Kyle Mew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Applying Material Design to older platforms

Usually when developing an app for pre-API 21 platforms, we set the minimum SDK at the lowest target level when we create the app rather than reverse-engineering the process as we just did. Here, we will see how we can add many Material Design features. Developing this way round is also a good way to judge just how far backwards we want our app to be, and how much functionality we are prepared to lose.

This next exercise demonstrates how to build an app for API 16 and apply Material Design to the UI. To do this, follow these steps:

  1. Start a new project in the Android Studio called Material Jelly Bean.
  2. Do not use com.example in the package name.
  3. Select Phone and Tablet as the form factor and API 16 as the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required