开发者

How to set android:layout_column programmatically

开发者 https://www.devze.com 2023-04-05 13:37 出处:网络
How c开发者_高级运维an i set android:layout_column programmatically?for e.g. you have TextView then do this way

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

精彩评论

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