Android之ImageView 设置宽高

  方案一:

    设置布局参数

  imageView.setLayoutParams(new LinearLayout.LayoutParams(newWidth, newWidth));
原文地址:https://www.cnblogs.com/Free-Wind/p/4651870.html