blob: 513287ef9d7aa6c7643004e9a1903968b4955b06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package com.pitchedapps.frost.views
import android.view.View
import android.view.ViewGroup
/**
* Created by Allan Wang on 2017-05-31.
*/
fun View.matchParent() {
with (layoutParams) {
height = ViewGroup.LayoutParams.MATCH_PARENT
width = ViewGroup.LayoutParams.MATCH_PARENT
}
}
|