标签:margin
LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); lp.setMargins(10, 20, 30, 40); imageView.setLayoutParams(lp);
动态的设置margin
给params 设置
标签:margin
原文地址:http://blog.csdn.net/love_javc_you/article/details/45077161