I don’t really know what should I search for so that is why I decided to ask here. I have a TextView which I want it to wrap by my content but not to exceed the application width, instead to start a new line and push the View below it one line beneath.
I believe it’s a simple answer and I will be glad if someone will provide it to me! Thanks!
1. Please do set the width as
wrap_contentand height also aswrap_content.2. Keep
margin and paddingto maintain the distance between other views, in you want the data to be in new line and Not using max line = 13. If you dont want to to create a new line, then use the attribute
max line = 1, this will keep adding to the TextView all in one line.