<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1"
android:shrinkColumns="1">只要设置了android:shrinkColumns属性就好。
解决Android的TextView不能自动换行的问题
最新推荐文章于 2024-08-11 17:20:10 发布
本文介绍了一种使用TableLayout实现自适应布局的方法。通过设置android:shrinkColumns属性, 实现了当内容超过显示范围时自动缩小指定列的功能。

5331

被折叠的 条评论
为什么被折叠?



