Code example for RelativeLayout.LayoutParams

Methods: addRule, setMargins