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 日
如果觉得我的文章对你有用,请随意赞赏