I have made white actionbar that way my back arrow not visible i have to try many things but nothing is work please help me how to change back arrow color in android?
- 1 years ago
try this code it is working for me.
it should work for you
Drawable backArrow = getResources().getDrawable(R.drawable.ic_left_arrow); backArrow.setColorFilter(getResources().getColor(R.color.dashcolor), PorterDuff.Mode.SRC_ATOP); getSupportActionBar().setHomeAsUpIndicator(backArrow);