title: Moving Logo on action bar Android Studio
body: <p>I have put an image from my drawable folder and added it onto my action bar and would now like to move it left over beside the back arrow. Anyone any ideas on how to do this in Android Studio. Thanks</p>
  
  <p>My Code is as fallows</p>
  
  <pre><code>getSupportActionBar().setDisplayHomeAsUpEnabled(true);
      getSupportActionBar().setDisplayShowHomeEnabled(true);
      getSupportActionBar().setDisplayUseLogoEnabled(true);
      getSupportActionBar().setLogo(R.drawable.mainlogo);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/RNzFy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RNzFy.png" alt="enter image description here"></a></p>