Gaurav Vashisth
Gaurav Vashisth

Reputation: 7737

Actionbar home backbutton drawable selector

I am trying to have selector state for up-button(<) by

<item name="homeAsUpIndicator">@drawable/action_bar_home_as_up_indicator</item> 

in the styles. where action_bar_home_as_up_indicator is a drawable xml with selector states pressed and default, but it doesnt seem to work.

Upvotes: 2

Views: 1999

Answers (1)

cheng yang
cheng yang

Reputation: 1742

you may want to add android namespace try

<item name="android:homeAsUpIndicator">@drawable/action_bar_home_as_up_indicator</item> 

Upvotes: 1

Related Questions