Steps to Reproduce
I just tried to add tabGroup inside SplitWindow but it doesnt seems to be working, just because TabGroup cannot be child of master/detailed window.
Actual Result
I see blank view
Expected Result
Expect TabGroup to be child of master/detailed window of splitView.
Test Case
<Alloy>
<!-- iPad -->
<SplitWindow id="index" formFactor="tablet" platform="ios">
<Window>
<TabGroup>
<!-- Explicit Window declaration -->
<Tab id="tab1">
<Window id="win1">
<Label>Label 1</Label>
<Label>Label 2</Label>
<Label platform="ios">Label 3</Label>
<Label>Label 4</Label>
<Label>Label 5</Label>
</Window>
</Tab>
</TabGroup>
</Window>
<Window>
<NavigationGroup id="navgroup">
<Require src="detail" id="detail"/>
</NavigationGroup>
</Window>
</SplitWindow>
</Alloy>
Hello, Can you please provide a simple test case that shows this error so that I may more quickly determine if this is indeed a bug? Then I would be glad to pass it along to engineering. Thanks, Carter
Please use this snippet
ALSO PLEASE REFER TO THIS ISSUE : http://developer.appcelerator.com/question/148562/alloy---add-tabgroup-inside-splitwindow#answer-257203
Thank you Andrey, I reopened the issue and moved to Ti-Mob.
@Carter: from now on, Alloy-specific issues should be moved to the ALOY project, not TIMOB. Thanks.
Got it, sorry for the mixup.
Basic syntax will look like this:
Tried running the app using the following code.
App runs with no error but tabgroup is not added to the window.
[~pmishra] TabGroup is a top-level view, it should not be nested inside of a Window. Also, your XML was invalid since you didn't close your TabGroup or Window tags.
Verified as fixed and working as expected with: Alloy 1.1.2 GA and 1.1.3-alpha TiSDK 3.1.0 GA and 3.1.1.v20130513131554 CLI 3.1.0 Sample code:
Closing.