title: Find out if a text is too long to display and needs newline
body: <p>I got dynamic texts. The problem is that they should all fit into one line. Is there a way I can find out if the android device would make a text with a newline in order to display the whole text?</p>
  
  <p>Basically what I want to do is, to shorten the text if the device can't display all on one line. Is this possible?</p>
  
  <p>Currently I'm just displaying the data and its making a new line every time it's too long. I figured out I could split the string after 15 characters but I want to make it dependent on the screen width.</p>
  
  <p>I thought I may can get the screen width, but then? Any suggestions to this?</p>