Using:
buildToolsVersion "22.0.1" ,
targetSdkVersion 22 in my gradle file.

I found that the useful getResources().getColor(R.color.color_name) is deprecated.

What should I use instead?

4 s
4

Leave a Reply

Your email address will not be published. Required fields are marked *