SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to use android R class
R
textView.setBackgroundColor(ContextCompat.getColor(getActivity(), android.R.color.transparent));
and don't forget to add support library to Gradle file
compile 'com.android.support:support-v4:23.3.0'