Package com.naver.ads.util
Object MeasureUtils
-
- All Implemented Interfaces:
public class MeasureUtilsUtility methods for measure of View
-
-
Field Summary
Fields Modifier and Type Field Description public final static MeasureUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnitmeasureAtMost(View child, Integer width, Integer height)Call measureon a view with the AT_MOST measurespec for the given height/width.final static UnitmeasureExactly(View child, Integer width, Integer height)Call measureon a view with the EXACTLY measurespec for the given height and width.-
-
Method Detail
-
measureAtMost
final static Unit measureAtMost(View child, Integer width, Integer height)
Call
measureon a view with the AT_MOST measurespec for the given height/width.
-
measureExactly
final static Unit measureExactly(View child, Integer width, Integer height)
Call
measureon a view with the EXACTLY measurespec for the given height and width.
-
-
-
-