title: Centering text field in Titanium Mobile
body: <p>How do I center a text field in Titanium? Here's the text field code:</p>
  
  <pre><code>var textfield1 = Titanium.UI.createTextField({
      color:'#006',
      backgroundColor:'#fff',
      height:50,
      top:'auto',
      left:'auto',
      width:300,
      borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED
  
  
  });
  </code></pre>