[Issue facebook/css-layout#78]: Implemented alignContent ;

This commit is contained in:
Pierre Renaux
2015-05-06 15:14:57 +08:00
parent 8cdf0d0228
commit 998fa1d6ba
8 changed files with 346 additions and 0 deletions

View File

@@ -58,6 +58,8 @@ public class CSSNode {
/*package*/ final CSSLayout layout = new CSSLayout();
/*package*/ final CachedCSSLayout lastLayout = new CachedCSSLayout();
public int lineIndex = 0;
// 4 is kinda arbitrary, but the default of 10 seems really high for an average View.
private final ArrayList<CSSNode> mChildren = new ArrayList<CSSNode>(4);