title: Android shared title bar with functionality
body: <p>I have a custom title bar cross all of activities.
  The problem is that I need to write this code</p>
  
  <pre><code>requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
  setContentView(R.layout.vitamin_chart);
  getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.window_title);
  </code></pre>
  
  <p>on all of activities.</p>
  
  <p>Is there a way to write the setting of title bar and functionality in one place?</p>
  
  <p>Thanks.</p>