LinearLayout.LayoutParams Params = new LinearLayout.LayoutParams(350, 350);//分别为高度和宽度 image.setLayoutParams(Params);
在代码中修改imageview的宽度和高度
最新推荐文章于 2024-07-26 09:54:00 发布
LinearLayout.LayoutParams Params = new LinearLayout.LayoutParams(350, 350);//分别为高度和宽度 image.setLayoutParams(Params);