Code example for LinearLayout

Methods: addView, getId, setId, setLayoutParams