generateDefaultLayoutParams

protected open fun generateDefaultLayoutParams(): LayoutParams

Returns a set of default layout parameters. These parameters are requested when the View passed to addView has no layout parameters already set. If null is returned, an exception is thrown from addView.

Return

a set of default layout parameters or null