Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change image of homeAsUpIndicator in default theme Theme.Holo.Light

In my android application,

I am using default theme Theme.Holo.Light.

Now I want to change the "<" sign which is default using this :

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

By changing this into

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

But here sign remains as it is,It doesn't change image.I am attaching screen shot of actionBar. Any help will be appreciated.

enter image description here

like image 853
Ponting Avatar asked Aug 24 '13 10:08

Ponting


1 Answers

Put these in your default Activitytheme.

<item name="android:homeAsUpIndicator">@drawable/ic_launcher</item>
like image 60
Mihir Avatar answered Oct 10 '22 20:10

Mihir