title: Ellipsize TextView at the end of the word
body: <p>I am using <code>TextView</code>'s <code>android:ellipsize</code> attribute, together with <code>android:maxLines</code> to make the text fit in the maximum number of 3 lines. </p>
  
  <p>The problem is that sometimes the text is cut in the middle of the word. I would like to ellipsize the text only at the end of the word. E.g.:</p>
  
  <blockquote>
    <p>Android is awesome</p>
  </blockquote>
  
  <p>Now it looks like this:</p>
  
  <blockquote>
    <p>Android is awe...</p>
  </blockquote>
  
  <p>But I would like it to look like this:</p>
  
  <blockquote>
    <p>Android is...</p>
  </blockquote>
  
  <p>Moreover, the user can dynamically change <code>textSize</code> in this <code>TextView</code>, so it is quite hard to predict which word will be the last one. </p>
  
  <p>Is there any way to ellipsize ONLY at the end of full word? If system does not allow for this, is there any library which would give such functionality or the only possibility is to write my own class which does this?</p>