Limited the text displayed in the main activity view to two lines.