I am trying to color my toolbar and status bar with two colors I have defined in the colors.xml file.
((AppCompatActivity) getActivity())
.getSupportActionBar()
.setBackgroundDrawable(?);
window.setStatusBarColor(?);
What should be put inside the brackets in order to refer to R.color.a
and R.color.b
?