Answers for "android int color = ContextCompat.getColor(getContext(), mColorResourceId);"

0

android int color = ContextCompat.getColor(getContext(), mColorResourceId);

LinearLayout linearLayout = (LinearLayout) findViewById(R.id.linear);
int color = ContextCompat.getColor(getContext(), mColorResourceId);
linearLayout.setBackgroundColor(color);
Posted by: Guest on April-21-2022

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language