Answers for "setHomeAsUpIndicator set tint"

0

setHomeAsUpIndicator set tint

Drawable drawable = ResourcesCompat.getDrawable(getResources(), R.drawable.ic_menu, null);
drawable = DrawableCompat.wrap(drawable);
DrawableCompat.setTint(drawable, Color.BLACK);
actionBar.setHomeAsUpIndicator(drawable);
Posted by: Guest on October-06-2020

Code answers related to "setHomeAsUpIndicator set tint"

Browse Popular Code Answers by Language