RelativeLayoutLayoutParams
RelativeLayoutLayoutParams is a class in the Android SDK used to define the layout parameters for views when they are placed within a RelativeLayout. RelativeLayout is a layout manager that allows you to position child views in relation to each other or in relation to the parent layout. Each child view within a RelativeLayout must have its layout parameters specified using RelativeLayoutLayoutParams.
These parameters are set on a View object using the setLayoutParams() method. Key attributes of RelativeLayoutLayoutParams
The width and height of the child view are also specified within RelativeLayoutLayoutParams, using constants like