开发者

How to set android:layout_column programmatically

How c开发者_高级运维an i set android:layout_column programmatically?


for e.g. you have TextView then do this way

TextView tv = new TextView(this); 
tv.setLayoutParams(new TableRow.LayoutParams(1));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜