The design support library
The design support library introduces material design components in an official way and is compatible with all the versions of Android starting with Android 2.1. Material design is a new design language introduced with Android Lollipop. Before this library was released, we watched videos and considered examples of apps using these components, but there was no official way to use it. This established a baseline for the apps to follow; therefore, to master Android, we need to master material design. You can compile it using the following line:
compile 'com.android.support:design:22.2.0'
This library includes a visual component as the input text with floating text, floating action buttons, TabLayout…, and so on. However, material design is not only about visual components; it's about movement and transitions between its elements, and for this reason, CoordinatorLayout has been introduced.
Introducing TabLayout
The TabLayout
design library allows...