5

Is there any solution to fade the last line in a multi-lint TextView? As the following effects:

TextView with fade effect

Sergey Glotov
  • 20,200
  • 11
  • 84
  • 98
WhiteBanana
  • 349
  • 4
  • 20

1 Answers1

-2

You can set Textview property as changemaxlines according.

android:maxLines="1"
android:scrollHorizontally="true"
android:ellipsize="end"