LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
params.weight = 1.0f;
binding.titleTextView1.setLayoutParams(params);
最后修改:2022 年 07 月 22 日
© 允许规范转载