TableLayout的 android:stretchColumns 属性

it2024-07-29  80

android:stretchColumns的值 可以设置 数字

(则对应了table 中要被扩展的列,可以为*,则所有列拉伸)

注:android:stretchColumns字段是为了 让 table 自动铺满屏幕,不然你得为每种尺寸屏幕写个layout……,或者你的 程序在高分辨率屏只能吊在左上角

转载于:https://www.cnblogs.com/classic/archive/2011/08/09/2132638.html

最新回复(0)