引用:http://www.eoeandroid.com/thread-1419-1-1.html
LayoutParams para; para = image.getLayoutParams(); para.height = 300; para.width = 300; imageView.setLayoutParams(para);