Project: titanium
Issue TIMOB-17199: Android: Orientation does not change for Window inside tabGroup
Orientation does not change When orientation modes property set on Window inside TabGroup. {code} var tabGroup = Titanium.UI.createTabGroup(); var win1 = Titanium.UI.createWindow({ title:'Tab 1', orientationModes: [Titanium.UI.LANDSCAPE_LEFT] }); var tab1 = Titanium.UI.createTab({ title:'Tab 1', window:win1 }); var win2 = Titanium.UI.createWindow({ title:'Tab 2', orientationModes: [Titanium.UI.PORTRAIT] }); var tab2 = Titanium.UI.createTab({ title:'Tab 2', window:win2 }); tabGroup.addTab(tab1); tabGroup.addTab(tab2); tabGroup.open(); {code} *Steps to reproduce:* 1.Copy Paste the code on app.js and run the app. 2. Click on Tab2. Expected Result: 1. App opens in landscape mode, having two tabs sharing 50 % width. 2. App opens in portrait mode, having two tabs sharing 50 % width. Actual Result: 1. App launches in portrait mode. 2. Tab 2 gets actives and app remains on portrait mode. Window's orientation modes does not gets changed. Not a regression. Working fine for iOS
Story points: 5