<TextView                android:id="@+id/tvUserNameUgcListItem"                android:layout_height="@dimen/dp45"                android:layout_width="wrap_content"                android:text="云不撸云不撸云不撸云不撸云不撸云不撸"                android:textSize="@dimen/sp15"                android:singleLine="true"                android:layout_marginLeft="@dimen/dp10"                android:maxEms="8"                android:ellipsize="end"                android:textColor="@color/white_wall"                android:layout_toRightOf="@+id/ivUserImgUgcListItem"                android:gravity="center_vertical"                />

其中

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

很关键

更多相关文章

  1. C# 5.0引入了两个关键字 --async和await
  2. 在C/C++中如何使用extern关键字
  3. C语言的关键字有哪些?
  4. c语言中的关键字有哪些类型?
  5. c语言关键字是什么
  6. c语言static关键字的作用是什么
  7. c语言的标识符允许使用关键字吗?
  8. c语言中的关键字有哪些?
  9. c++中static关键字的作用是什么?

随机推荐

  1. Android文件操作
  2. Android ------ 拍照相册选择图片 剪裁图
  3. Android 依赖报错Version 28 (intended f
  4. android hack相关
  5. Linkify匹配电话号码,Email等
  6. android studio更改module名字
  7. Android实现简单短信发送器
  8. AndroidX迁移——弃用support库指南
  9. android 图片设置圆角
  10. Android之fragment的两种创建方式