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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -