Code example for LinearLayout

Methods: setGravitysetOrientation, setId, setLayoutParams, setPadding