setLayoutParams(new LayoutParams(width, height))方法设置不起作用,但不报错,也是因为setLayoutParams(new LayoutParams(width, height))方法 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交