How can I create material for older versions?
I tried adding appcompat_v7to my project, but that didnโt change anything unfortunately.
appcompat_v7
Please, help!
It is not automatic. But first, you'll need appcompat 21. Look at this:
http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html?m=1
Edit: In 2015, the MOO Matias Duarte introduced a design support library that greatly facilitates this task. It is included in the SDK repository.
: http://android-developers.blogspot.com/2015/05/android-design-support-library.html
Material Design . 2,2
https://github.com/navasmdc/MaterialDesignLibrary
, MaterialDesign, Android.
, , buil.gradle:
repositories { jcenter() } dependencies { compile 'com.github.navasmdc:MaterialDesign:1.2@aar' }
Material Design - , API , . API 21 , Android 5.0 SDK .
, . (4.0+). (, ) Lollipop.
backport , , ( ). : https://androidreclib.wordpress.com/ https://github.com/ZieIony/Carbon
There is a lot of information on the official page: https://developer.android.com/training/material/compatibility.html
Also important is the page mentioned by Fco P.