当利用textview显示内容时,显示内容过多可能会折行或显示不全,那样效果很不好。

实现如下:

<TextView android:layout_width="fill_parent" 
                   android:layout_height="wrap_content"

                   android:

                   android:singleLine="true" 
/>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-10-03
  • 2021-10-02
  • 2021-08-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2021-06-11
  • 2022-12-23
  • 2022-02-14
  • 2021-11-03
相关资源
相似解决方案