android studio - Unable to grow height of a row after expand its contents in listView -


i have activity contains customize listview.

this listview has textview along button in each row. setmaxlines property set 3 , button expand or hide text.

this how looks before expanding: enter image description here

after expanding text clicking more, row doesn't grow height wrap text, instead, looks scrollview somehow: enter image description here

how supposed grow height of row cover text (i don't want scroll bar) after clicking more shrinking height after clicking hide , reset setmaxlines property 3?

appreciate help!


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -