title: TextView's ellipsize not working on maxLines = 1
body: <p>I really cannot figure out why, but I am only able to get ellipsize working on <code>maxLines=2</code> and more. I am displaying a few words of description and then a long string with no spaces. </p>
  
  <p>This is how the TextView looks like:</p>
  
  <pre><code>&lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
                  android:layout_gravity="center"
                  android:textColor="#757575"
                  android:text="@string/gcm_not_registered"
                  android:maxLines="1"
                  android:ellipsize="end"
                  android:id="@+id/login_gcmRegistrationTextView"/&gt;
  </code></pre>
  
  <p>I then programatically set a text to it, but depending on the maxLines limitation, I get two different results:</p>
  
  <p><img src="https://i.stack.imgur.com/SZAyD.png" alt="maxLines=1"> <img src="https://i.stack.imgur.com/tKFmH.png" alt="maxlines=2"></p>
  
  <p>The only thing that changed was the <code>maxLines</code>, why isn't the line filled in the first picture as well?</p>