Back arrow not visible on Action Bar
<p>I am implementing the following code which inherits AppCompatActivity but I can't see the back arrow on Action Bar.</p>

<pre><code> @Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    getSupportActionBar().setDisplayShowHomeEnabled(true);
</code></pre>

<p><a href="https://i.stack.imgur.com/rTRAU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rTRAU.png" alt="enter image description here"></a></p>

<p>I also want to know about how to make the Title Text Left Align.</p>