定义: 我们可以在Android的framework中的ViewGroup类里找到定义的类: public static class LayoutParams{...} 此类有如下注释: LayoutParams are used by views to tell their parents how they want to be laid out. View对象使用LayoutParams对象来告知其上层控件自己需要多少空间. The base LayoutParams class just…