title: Ellipsize not show three dots at end of TextView
body: <p>I know there are many similar questions, and I have read many answers, but none of them are what I want. I have tried almost all of them. The following are my attempts (I set <code>ellipsize=end</code> for each attempt):</p>
  <ol>
  <li><code>singleLine=true</code> (works)</li>
  <li><code>lines=1</code> (not work)</li>
  <li><code>maxLines=1</code> (not work)</li>
  <li>set width of textView to specific value (not work)</li>
  <li><code>ScrollHorizontally=true</code> (not work)</li>
  </ol>
  <p>Only the first one works, but I want multiple lines of text instead of one line</p>
  <p>Is there any other way to achieve this</p>
  <p>Any help will be appreciated</p>
  <p><strong>Edit:</strong></p>
  <p>And here is my xml layout(in attempt 2):</p>
  <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;&gt;
  
      &lt;ImageView
          android:id=&quot;@+id/image&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;@dimen/x150&quot;
          android:adjustViewBounds=&quot;true&quot;
          android:scaleType=&quot;centerCrop&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toTopOf=&quot;parent&quot; /&gt;
  
      &lt;TextView
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:background=&quot;@color/colorPrimary&quot;
          android:ellipsize=&quot;end&quot;
          android:lines=&quot;1&quot;
          android:text=&quot;hello hello hello hello hello hello hello hello hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/image&quot; /&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/FzjtZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FzjtZ.png" alt="enter image description here" /></a></p>