Answers for "how to make custom ellipsize in android"

2

android ellipsize attribute

<TextView
       ....
       android:text="Hi I am Amiyo,you can see how to ellipse works."
       android:ellipsize = "end"  
   />
Posted by: Guest on June-14-2020
0

ellipsize in android

Example :

<TextView
       ....
       android:text="aaabbbccc"
       android:singleLine = "true"
       android:ellipsize = "end"  
   />

Say original value pf text view is aaabbbccc and its fitting inside the view

start's output will be : ...bccc

end's output will be : aaab...

middle's output will be : aa...cc

marquee's output will be : aaabbbccc auto sliding from right to left
Posted by: Guest on November-17-2020

Code answers related to "how to make custom ellipsize in android"

Browse Popular Code Answers by Language