title: Programmatically create TextView with ellipsis
body: <p>I'm programmatically creating a TextView that I want to ellipsis at the end.</p>
  
  <p>pseudo code:</p>
  
  <pre><code>    tv.setEllipsize(TextUtils.TruncateAt.END);
      tv.setHorizontallyScrolling(false);
      tv.setSingleLine();
  </code></pre>
  
  <p>The above works GREAT.</p>
  
  <pre><code>    tv.setEllipsize(TextUtils.TruncateAt.END);
      tv.setHorizontallyScrolling(false);
      tv.setMaxLines(1);
  </code></pre>
  
  <p>This does not work. Is this a bug? I don't understand why I can't get text to ellipses at the end when specifying maxLines especially a maxLine of 1 but setSingleLine is ok.</p>