simon.vergauwen
10/31/2016, 8:30 AMfun <T : android.view.View> T.frameLayoutParams(
width: <http://kotlin.Int|kotlin.Int> = wrapContent, height: <http://kotlin.Int|kotlin.Int> = wrapContent,
init: FrameLayout.LayoutParams.() -> kotlin.Unit = { }): T {
val layoutParams = FrameLayout.LayoutParams(width, height)
layoutParams.init()
this@frameLayoutParams.layoutParams = layoutParams
return this
}