由网友(江南老巷、柳絮飞)分享简介:是否有可能有一行的TextView ,在最近的像素切断,并且不添加三个点?解决方案 <的TextView机器人:ID =@ + ID / text_ivew风格=@风格/ Text.TitleSINGLELINE =假机器人:ellipsize =结束机器人:行=1机器人:文本=文本>< / Te...
是否有可能有一行的TextView
,在最近的像素切断,并且不添加三个点?
<的TextView
机器人:ID =@ + ID / text_ivew
风格=@风格/ Text.Title
SINGLELINE =假
机器人:ellipsize =结束
机器人:行=1
机器人:文本=文本>< / TextView的>
Is it possible to have a single line TextView
that cuts off at the nearest 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>
相关推荐
最新文章