I've developed an App, where the user can change the theme. I have a navigation view, with a menu icon in Toolbar that is black.
I would like to change that icon, to have it white (on a black theme). I tried this code but it remained black:
myToolbar.setTitleTextColor(Color.WHITE);
ab.setHomeAsUpIndicator(R.mipmap.ic_menu_white_24dp); //ab=ActionBar
ab.setDisplayHomeAsUpEnabled(true);
The title becomes White, but the icon doesn't change.