Answers for "how to detect ellipsize programmatically on android"

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 detect ellipsize programmatically on android"

Browse Popular Code Answers by Language