-2

I given my application target as 21. So I can use the Material Design API's. But when I run the same on older devices whether I have to define different layout or theme or how it could me.

And also I have read the official document Maintaining Compatibility. But still I was not clear to use the material theme on android devices less than 5 os.

And also where can I find the Android 5 related XML tags. And how the same tags applied when running on devices less than 5.

Please help me on this. Thanks in advance.

Murtaza Khursheed Hussain
  • 15,176
  • 7
  • 58
  • 83
M Vignesh
  • 1,586
  • 2
  • 18
  • 55

1 Answers1

4

There are few library's to achieve the Material Design applicable to an earlier platforms less than API-21. An example of such library is this one: https://android-arsenal.com/details/1/1156. You can look on Android Arsenal for more library's like this.

Also this blog-post from Chris Banes is about Material Design on older platforms, I recommend that you read it: https://chris.banes.me/2014/10/17/appcompat-v21/. I hope it will be helpful for reduce design complexity.

MohanRaj S
  • 1,958
  • 4
  • 30
  • 54
nourikhalass
  • 360
  • 1
  • 2
  • 8