I have the following Layout which does not work:
Use this
android:ellipsize="end" android:singleLine="true"
Don't use this without fully aware of what output comes
android:ellipsize="end" android:maxLines="1"
When you use maxlines = 1 it will some time truncate most of the characters.
maxlines = 1