As described in the document: https://developer.android.com/training/material/theme.html
Note. Material theme is only available in Android 5.0 (API level 21) and higher.
This means that you should use the values-v21 folder for your material theme.
However, you can use v7 Support Libraries to provide themes with material design styles for some widgets. This is an example using the AppCompat theme.
<style name="Theme.MyTheme" parent="Theme.AppCompat.Light"> <item name="actionBarStyle">@style/MyActionBarStyle</item> <item name="colorPrimary">@color/my_awesome_red</item> <item name="colorPrimaryDark">@color/my_awesome_darker_red</item> </style>
More details here: https://chris.banes.me/2014/10/17/appcompat-v21/
source share