addView的误区

如果在代码中动态使用addView(v),那么v里头所有在xml里设置好的layout_xxx全部失效!

原文地址:https://www.cnblogs.com/turtlegood/p/3536815.html