title: How to change title of Activity in Android?
body: <p>I am using </p>
  
  <pre><code>Window w = getWindow();
  w.setTitle("My title");
  </code></pre>
  
  <p>to change title of my current Activity but it does not seem to work.</p>
  
  <p>Can anyone guide me on how to change this?</p>