Aspects


vs


Layoutparams

The LayoutParams is a helper class that stores various layout information related to the Android view for which it is used.

Viewgroup

ViewGroup is a subclass of the Android View class(parent of all Android graphical widgets) which can contain child views.

Others

Quality Example
More

"Unless you know exactly what you are doing do not use the same layoutparams for more than one viewgroup"

from question "Programmatic Margin for LinearLayout is ignored"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0