title: How to truncate text with a fade effect in Android?
body: <p>I am aware that this question has been asked before but the accepted answer does not work, and none of the comments are helping me. <a href="https://stackoverflow.com/questions/7489068/how-to-replace-ellipses-with-fade-fading-edge-in-textview-in-android-sdk">How to replace ellipses with fade / fading edge in textview in Android sdk?</a></p>
  
  <p>I am trying to use ellipsize="marquee" in order to truncate my text at the end and have a fade effect rather than an ellipsis.</p>
  
  <pre><code>&lt;TextView
    android:layout_width="200dp"
    android:layout_height="wrap_content"
    android:text="LOREM IPSUM SCARAMOUCHE SCRARAMOUCHE GALILEO PACCIORETTY"
    android:singleLine="true"
    android:ellipsize="marquee"/&gt;
  </code></pre>
  
  <p>I wish I could post a screenshot but SE wont't let me. here is what it looks like on screen</p>
  
  <blockquote>
    <p>LOREM IPSUM SCARAMOUC..</p>
  </blockquote>
  
  <p>the word is not fading out, and it is not displaying an ellipsis either. instead it displays 2 dots.</p>
  
  <p>note that I do not want the text to scroll, I just want it to truncate with a fade effect rather than an ellipsis.</p>