Code example for LinearLayout

Methods: addView, setLayoutParams