13

is there a way to fade the bottom of a TextView in Android when the text is bigger than a fixed height? I'm looking for a thing such like in the Play Store

enter image description here

NB: with ellipsize and fadeEdge (also combination of them) it does not work.

jimpanzer
  • 3,470
  • 4
  • 44
  • 84
bongia
  • 131
  • 1
  • 3

2 Answers2

5

You can use android:requiresFadingEdge="vertical". To change the gradient overlay height android:fadingEdgeLength="32dp"

rndstr
  • 777
  • 8
  • 14
-6

You can find variety of textview effects here

Sergey Glotov
  • 20,200
  • 11
  • 84
  • 98
Jai Kumar
  • 920
  • 1
  • 7
  • 14
  • 1
    in the link you posted there are no effects like the one that I want – bongia May 04 '13 at 12:14
  • No spoon feeding my friend.. Get to know how to use "The text which gets lost in the background" and modify it to make it to your wish.. – Jai Kumar May 05 '13 at 05:02