You can find documentation here.
Based on your requirement you can try according option.
to ellipsize, a neologism, means to shorten text using an ellipsis, i.e. three dots ... or more commonly ligature …, to stand in for the omitted bits.
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