Android single line TextView without the dots
Is it possible to have a single line TextView
that cuts off at the neares开发者_高级运维t pixel and does not add three dots?
<TextView
android:id="@+id/text_ivew"
style="@style/Text.Title"
singleLine="false"
android:ellipsize="end"
android:lines="1"
android:text="text"></TextView>
You should just be able to set the android:ellipsize property to false on your TextView in xml.
精彩评论