title: Android TextView not show Complete long Text
body: <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:padding="2dp"
                android:background="@drawable/cell_background"&gt;
  
      &lt;TextView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:textSize="15dp"
          android:text="New Text"
          android:gravity="center"
          android:background="@color/white"
          android:id="@+id/textView"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I came across a problem,<code>TextView</code> not showing the complete text and I absolutely cannot limit text length in code (not other things either!).</p>
  
  <p>When I use <code>setText</code> with the following string：</p>
  
  <blockquote>
    <p>qwertyuyiopasdfghjklkjsdfhvrtcgwrgcrcrfcwerm,fixcumreiovtreuiocfmruefcmeroiwurewmiohgxiehgiocwrhhhhwemoggruiohwgcioweruhcmrehxrmeihouxe,horhxihuxchfjkhjklsdfhdlkfhdsjflkasdhjfhaskldfhdkljfhsadjfkhdsjfdsakflajdasghsdlkacvnsadohlkfjhdjkflsadhkjfhasdlkfhdsjlkfhdjlkfhasdjfhicnerjsdklfhdjsklfhdsjklfhasdjklvcnsldkjfldksfhajsldkfhdjklsjfhasdjklf789456123</p>
  </blockquote>
  
  <p>it only shows:</p>
  
  <blockquote>
    <p>qwertyuyiopasdfghjklkjsdfhvrtcgwrgcrcrfcwerm,fixcumreiovtreuiocfmruefcmeroiwurewmiohgxiehgiocwrhhhhwemoggruiohwgcioweruhc</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/VSUmX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VSUmX.png" alt="enter image description here"></a></p>
  
  <p>but <code>getText</code> returns the complete string as shown on the <code>Hierarchy Viewer</code> screenshot!</p>
  
  <p><a href="https://i.stack.imgur.com/t2dWZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t2dWZ.png" alt="enter image description here"></a></p>