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