在画布局的时候发现我的TextView不能自动换行,超出了屏幕也不换

原因如下:

  TableLayout里的TableRow里的TextView自动换行会出现问题

<TableLayout android:layout_width="fill_parent"
android:layout_height
="wrap_content" android:stretchColumns="1" android:shrinkColumns="1">

加一个android:shrinkColumns 之后问题解决




相关文章:

  • 2021-11-17
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案