Code example for LinearLayout

Methods: getChildCount, addView, setLayerType