public class MeasureSpecUtils extends Object
Constructor and Description |
---|
MeasureSpecUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areMeasureSpecsEquivalent(int specA,
int specB) |
static int |
atMost(int px) |
static int |
exactly(int px) |
static boolean |
isMeasureSpecCompatible(int oldSizeSpec,
int sizeSpec,
int oldMeasuredSize) |
static int |
unspecified() |
public static int unspecified()
public static int atMost(int px)
public static int exactly(int px)
public static boolean areMeasureSpecsEquivalent(int specA, int specB)
public static boolean isMeasureSpecCompatible(int oldSizeSpec, int sizeSpec, int oldMeasuredSize)