android how to add back button on action bar code example Example: android add back button to toolbar programmatically actionBar.setDisplayHomeAsUpEnabled(true);