I\'m currently working on an Android app. I would like to use the app icon in the action bar to navigate to the \"home\" activity. I read on this page that all that needs to be
For packages targetting API level 14 onwards, you need to enable the home button by calling setHomeButtonEnabled()
In your onCreate, add the following:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { getActionBar().setHomeButtonEnabled(true); }