标签:
1.ImageView
ImageView imageView = new ImageView(this);
imageView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));
动态生成常用组件
原文地址:http://www.cnblogs.com/sangxiang/p/4594728.html