2

I found some view xml attributes such as backgroundTint, backgroundTintMode.
But when I use it as view attribute difinition, Eclipse shows an error for:

No resource identifier found for attribute 'backgroundTint' in package 'android'

And when I use it as style definition, Eclipse shows error for:

 No resource found that matches the given name: attr 'android:backgroundTint'

I want to use those attributs normally in Eclipse, can someone help me?

Lex.Lin
  • 33
  • 1
  • 3

1 Answers1

2

backgroundTint and backgroundTintMode are only available in API level 21+ (Lollipop)

samgak
  • 23,944
  • 4
  • 60
  • 82