5

How do I change the color of the arrow of the actionbar dynamically? I don't want to use a theme like it was done here, because the color of my actionbar changes dynamically, too.

Is it possible?

Community
  • 1
  • 1
chocolate cake
  • 2,129
  • 5
  • 26
  • 48
  • Check [this](http://stackoverflow.com/questions/20657463/change-homeasupindicator-dynamically), I think it will help you out. – Strider Jun 15 '15 at 13:29

1 Answers1

1

You can change it programmatically easily by using homeAsUpIndicator() function that added in android API level 18 and upper.

ActionBar().setHomeAsUpIndicator(R.drawable.ic_yourindicator);
Maveňツ
  • 1
  • 12
  • 50
  • 89