0

When I create an action bar icon from an image asset in Asset Studio, the icon is always of only one color even if the original image is multi-colored.

I have found in another post that icons are defined by Android to use only one color but Android default drawable assets are multi-colored e.g. @android:drawable/ic_menu_delete

So how can I create a custom multi-colored icon or why can't I do that?

yaugenka
  • 2,602
  • 2
  • 22
  • 41

1 Answers1

0

if your use colored icon,Try to use programmatically

view_action_bar.itemIconTintList=null

where view_action_bar is view id on your xml

adi purnama
  • 156
  • 2
  • 6