title: How to programmatically set maxLength in Android TextView?
body: <p>I would like to programmatically set <code>maxLength</code> property of <code>TextView</code> as I don't want to hard code it in the layout. I can't see any <code>set</code> method related to <code>maxLength</code>. </p>
  
  <p>Can anyone guide me how to achieve this?</p>