title: Setting width to wrap_content for TextView through code
body: <p>Can anyone help me how to set the width of <code>TextView</code> to <code>wrap_content</code> through code and not from XML?</p>
  
  <p>I am dynamically creating a <code>TextView</code> in code ,so is there anyway to how to set its width to <code>wrap_content</code> through code?</p>