I use ActionBarSherlock (although I don\'t think it matters).
I have a Main activity and an About activity. I want the About activity to show the back-arrow by its l
For who want to just go back in the previous activity, this is the simplest solution:
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish(); //this method close current activity and return to previous
return true;
}
return super.onOptionsItemSelected(item);
}