How to show 3 dots at the end of text in textview

Make a preset width for your TextView and add these attributes (Shout-out to @T-D)

android:ellipsize="end"
android:maxLines="1"

The maxLines will make sure that your text wont be shown in two lines and the ellipsize will add the three dots in the end.

Old Answer

android:ellipsize="end"
android:singleLine="true"

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)