I want to customize actionbar buttons with an image both for pressed and not pressed state. I put a drawable selector on android:icon with two states (pressed and not pressed).
I have fixed the problem putting
@color/transparent
in styles.xml. I thought it would have affected all the select styles but it seems it affects just the actionbar.