Reputation: 4148
The title is pretty much self explanatory. What are the exact differences? I'll post sample code below.
actionbar = getSupportActionBar();
actionbar.setDisplayHomeAsUpEnabled(true);
actionbar.setDisplayShowHomeEnabled(true);
Upvotes: 21
Views: 16457
Reputation: 55350
The documentation is pretty much self explanatory.
ActionBar.setDisplayShowHomeEnabled()
specifies whether or not the Home button is shown.
ActionBar.setDisplayHomeAsUpEnabled()
specifies whether or not the Home button has the arrow used for Up Navigation next to it.
Upvotes: 22