Code example for LinearLayout

Methods: addViewsetGravitysetOrientation, setBackgroundResource, setLayoutParams