View类和ViewGroup类都位于android.view包中(View和ViewGroup的子类位于android.widget包中);
ViewGroup类是View类的子类,是View类的扩展,是一个抽象类;
ViewGroup中的LayoutParams和MarginLayoutParams是基类,各个布局管理器都有自己的相应子类;
ViewGroup.LayoutParams是ViewGroup.MarginLayoutParams的父类。
View类和ViewGroup类都位于android.view包中(View和ViewGroup的子类位于android.widget包中);
ViewGroup类是View类的子类,是View类的扩展,是一个抽象类;
ViewGroup中的LayoutParams和MarginLayoutParams是基类,各个布局管理器都有自己的相应子类;
ViewGroup.LayoutParams是ViewGroup.MarginLayoutParams的父类。