title: How do I center the ActionBar title in Android Studio?
body: <p>I want to center the <code>ActionBar</code> title text in my app...</p>
  
  <p>I understand I need a custom layout to do this... So how do I do it?</p>
  
  <p>I've tried following the instructions from here - <a href="https://stackoverflow.com/questions/12387345/how-to-center-align-the-actionbar-title-in-android">How to center align the ActionBar title in Android?</a> -</p>
  
  <p>but it's not clear where to put the code. I tried my best to follow the steps, but my action bar stayed exactly the same.</p>
  
  <p>Thanks.</p>
  
  <p>Base API for my app is 16.</p>