Code example for LinearLayout

Methods: getLayoutParams, setLayoutParams