关于布局的一个小疑点向大家请问上

关于布局的一个小问题向大家请教下有这么一个表格布局:我 TableLayout的属性android:layout_widthfill_p

关于布局的一个小问题向大家请教下
有这么一个表格布局:关于布局的一个小疑点向大家请问上

我 TableLayout的属性      android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                           android:shrinkColumns="1" 
                            android:stretchColumns="2"
第二个按钮宽度和高度的属性   android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
我想问下,怎么设置让第二列的按钮不随着字体的变长,高度会增加。并且都显示出来。
[解决办法]
android:layout_width="100px"
android:layout_height="200px"
100,200是你自己设定的值
[解决办法]

引用:
有这么一个表格布局:

我 TableLayout的属性      android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                           android:shrinkColumns="1" ……

把参数修改成正好的大小就行了
[解决办法]
建议用相对布局,不要写死了。