I am trying to put together a UI in Alloy that would contain a tabgroup, but all the tabs would have a common toolbar control/view that would be below the taabgroup. When I try to put a tabgroup and another view in a container window (see below), I get an error on Android only - 'cannot add window/tabgroup to another window/tabgroup'. I have made things work for now by putting an instance of the toolbar in each tab window, but this terribly inefficient. What can I do to make this with just one of my 'control panel' views?
<Alloy> <Windowid id="mainWindow" class="container"> <TabGroup id="tg"> <Require src="ALL" id="tabCLALL"/> <Require src="MOI" id="tabCLMOI"/> <Require src="POI" id="tabCLPOI"/> <Require src="YAH" id="tabYAH"/> </TabGroup> <View id="cp" > <Require type="view" src="ControlPanel" id="controlPanel"/> </View> </Window> </Alloy>