Fix view collapsing

Summary:
Make more views collapse on Android by designating FLEX_BASIS, FLEX_GROW and FLEX_SHRINK as "layout-only" props.

Relies on existing layout tests.

See Issue #13622
Closes https://github.com/facebook/react-native/pull/13868

Reviewed By: astreet

Differential Revision: D5035864

Pulled By: javache

fbshipit-source-id: d2c9e0b33b07e51b19afc383ef913ac41b70415c
This commit is contained in:
Greg Herlihy 2017-05-18 11:17:51 -07:00 committed by Facebook Github Bot
parent 6c4e8d74cd
commit b5eb104617
1 changed files with 3 additions and 0 deletions

View File

@ -120,7 +120,10 @@ public class ViewProps {
ALIGN_ITEMS,
COLLAPSABLE,
FLEX,
FLEX_BASIS,
FLEX_DIRECTION,
FLEX_GROW,
FLEX_SHRINK,
FLEX_WRAP,
JUSTIFY_CONTENT,
OVERFLOW,