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