Code example for LinearLayout

Methods: setBackgroundDrawableaddView, addView