[Android的坑]setLayoutParams必须用父控件的LayoutParams

刚才用 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(300, LayoutParams.WRAPCONTENT); lp.setMargins(100, 30, 0, 0); linearLayout.setLayoutParams(lp); 后linearLayout<span id="kindeditorbookmark_s...
2014-12-23 18:09 | 5288次阅读 | 0评
浏览1530283次
最新评论