I have a multi-line text view that can get quite large. When the user is actually editing it I want to expand as needed — but then collapse it again down to a single line when it’s no longer being edited.
Example: During the edit the textview may have many lines and look like this
Lots of really long notes
on multiple liness
When focus is lost, I want to contract the view back to single line so that look like:
Lots of really long…
Any suggestions?
There have been several questions like this one, please check here:
TextView expand animation like in Android Market
Android: Expand/collapse animation
Android EditText won't take up remaining space
How to scale/resize text to fit a TextView?
Some of these links include the sliding animation for the textviews. I hope this helps!
Regards,