动态生成常用组件

1.ImageView

ImageView imageView = new ImageView(this);  

imageView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));

posted on 2015-06-23 09:45  心想快乐  阅读(86)  评论(0编辑  收藏  举报