Many Android apps have a Back button in the top left corner
By default, ADT will default to a return icon
And as a lot of development needs are required to customize a new icon
Found 2 ways to change on Android's website
1.
Setting in the Java Code environment
ActionBar = Getactionbar (); Actionbar.setdisplayhomeasupenabled (true); Actionbar.sethomeasupindicator (R.drawable.back);
If you have an error message, call requires API level: Android.app.actionbar#sethomeasupindicator
Indicates that the current minimum API level is less than 18 then refer to the second method.
2.
Add a style to Styles.xml
<style name= "Style_titlebar_normal" parent= "Theme.AppCompat.Light" > <item name= "Android: Homeasupindicator "> @drawable/back</item> <!--back icon--> </style>
The style is then set in the Androidmanifest.xml in the theme of its activity
<activity android:name= "com.logic.activity.Activity1" android:theme= "@style/style_titlebar_normal" > </activity>
This approach does not require the API level to be slightly more complex
Android Development Change the icon of the return button