I am implementing the following code which inherits AppCompatActivity but I can't see the back arrow on Action Bar.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true);
I also want to know about how to make the Title Text Left Align.
An arrow button should be present for easier navigation. .
It is easy to do this, see Providing Up Navigation for a short guide.