android ellipsize attribute

HTML
 <TextView
       ....
       android:text="Hi I am Amiyo,you can see how to ellipse works."
       android:ellipsize = "end"  
   />
Source

Also in HTML: