Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Android default back navigation icon

Tags:

android

back

When I used the following code in AndroidManifest.xml I was able to get the image 2 as shown in the image. I want to replace arrow head mark with complete arrow as shown in the image 2,

    <activity
        android:name="lk.gamma.pizzakraft.slidingmenu.Cart"
        android:label="@string/app_name"
        android:parentActivityName="lk.gamma.pizzakraft.slidingmenu.ActivityHome" >
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value="lk.gamma.pizzakraft.slidingmenu.ActivityHome" />
    </activity>

enter image description here

like image 980
John David Avatar asked Oct 31 '22 11:10

John David


1 Answers

 <style name="Theme.MyFancyTheme" parent="android:Theme.Holo">
     <item name="android:homeAsUpIndicator">@drawable/your_icon</item>
 </style>
like image 156
Murtaza Khursheed Hussain Avatar answered Nov 15 '22 05:11

Murtaza Khursheed Hussain