I did like below in xml
xml
TextView will be multi line when it wont get enough space to fit in the single line and singLine not set to true.
If it gets the space in one line it wont be multi line.