title: how do I center a label i android?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5347341/how-to-align-center-the-title-or-label-in-activity">How to align center the title or label in activity?</a>  </p>
  </blockquote>
  
  
  
  <p>Simple question, I have made a dialogbox with a label at the top. The label has for some reason gravity left as default, and I want to change it to center. The label is defined in my AndroidManifest.xml file as :   </p>
  
  <pre><code>&lt;b&gt;activity&lt;/B&gt; 
          android:name=".WelcomeDialog" 
          android:theme="@android:style/Theme.Dialog"
          android:label="@string/welcome_dialog_title"
          &gt;
  
  &lt;b&gt;/activity&gt;&lt;/B&gt; 
  </code></pre>
  
  <p>I have tried to put android:gravity="center" but it is not working, any tips how to solve this issue?</p>
  
  <p>Thx in advance!</p>