Modifier and Type |
Method and Description |
abstract YogaLogger |
getLogger() |
abstract void |
setExperimentalFeatureEnabled(YogaExperimentalFeature feature,
boolean enabled) |
abstract void |
setLogger(YogaLogger logger) |
abstract void |
setPointScaleFactor(float pixelsInPoint) |
abstract void |
setPrintTreeFlag(boolean enable) |
abstract void |
setShouldDiffLayoutWithoutLegacyStretchBehaviour(boolean shouldDiffLayoutWithoutLegacyStretchBehaviour)
If this flag is set then yoga would diff the layout without legacy flag and would set a bool in
YogaNode(mDoesLegacyStretchFlagAffectsLayout) with true if the layouts were different and false
if not
|
abstract void |
setUseLegacyStretchBehaviour(boolean useLegacyStretchBehaviour)
Yoga previously had an error where containers would take the maximum space possible instead of the minimum
like they are supposed to.
|
abstract void |
setUseWebDefaults(boolean useWebDefaults) |