📌  相关文章
📜  android java textview weight programmatically - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:06.204000             🧑  作者: Mango

代码示例1
TextView tv = new TextView(v.getContext());
tv.setLayoutParams(new TableLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 1f));