Code example for LinearLayout

Methods: addViewsetGravity, setBackgroundColor, setContentView