Description
When a parent view does not have a fixed height, i.e. defined using Ti.UI.SIZE, its child view height when set to a percentage is relative to the window size rather than the view size. This does not happen if we define a height for the parent view.
Code to reproduce
https://gist.github.com/davidecassenti/146958c11f53e5fd874f
Use Case
We have a container view, tileHolder with horizontal layout. Inside tileHolder are two views, leftTile and rightTile. leftTile height is Ti.UI.SIZE (it has to be dynamic), and we want to set the rightTile to the same height. Both left and right have 50% width.
Documented as undefined behavior http://docs.appcelerator.com/titanium/latest/#!/guide/UI_Composite_Layout_Behavior_Spec-section-4196675_UICompositeLayoutBehaviorSpec-UNDEFINEDbehavior
Closing ticket as invalid.