I'm trying to change the color of the android.support.v7.widget.Toolbar (23.2.1 support library) arrow with api 16. The usual way of changing the back arrow color is like this:
final Drawable upArrow = ContextCompat.getDrawable(getContext(), R.drawable.abc_ic_ab_back_mtrl_am_alpha);
upArrow.setColorFilter(ContextCompat.getColor(getContext(), R.color.somecolor), PorterDuff.Mode.SRC_ATOP);
getSupportActionBar().setHomeAsUpIndicator(upArrow);
However on api 16 the arrow stays the default white no matter what other I color I try to use. Is there another way of doing this for lower apis?
Edit - some stuff tried:
• changing the theme to .Light will make the arrows black, but doesn't help if I need a different color
• adding colorControlNormal in the theme will change the color, but if I want two different colored arrows in two different activities I have to support multiple themes.
• vectorDrawables.useSupportLibrary = true apparently needs to be added to the gradle