Does any one know how to wrap text in TextView in Android platform. i.e if the text in textview exceed the screen length it should be displayed in the second line.
I
Just was working on a TextView inside a layout inside a RecyclerView. I had text getting cut off, ex, for Read this message
, I saw: Read this
. I tried setting android:maxLines="2"
on the TextView, but nothing changed. However, android:lines="2"
resulted in Read this
on first line and message
on the 2nd.