Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2142] Android menu not working for tabgroup windows

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-10-13T19:45:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels3.1.3, android-4.0, menu, menuitem
Reporterankur garha
AssigneeShak Hossain
Created2013-10-11T10:27:51.000+0000
Updated2016-03-08T07:41:07.000+0000

Description

Steps to reproduce this bug:- 1) Create a simple tabbar based app in Alloy 2) Now try adding android menu to one of the window contained in any tab of the tabbar.

Comments

  1. ankur garha 2013-10-11

       <Alloy>
       	<TabGroup>
       		<Tab title="Tab 1" icon="KS_nav_ui.png">
       			<Window title="Tab 1">
       				<Menu id="menu" platform="android">
       
       					<!-- Cannot specify node text.  Use attributes only. -->
       					<MenuItem id="menuItem1" title="Item 1"   />
       					<MenuItem id="menuItem2" title="Item 2"   />
       
       				</Menu>
       				<Label>I am Window 1</Label>
       			</Window>
       		</Tab>
       		<Tab title="Tab 2" icon="KS_nav_views.png">
       			<Window title="Tab 2">
       				<Label>I am Window 2</Label>
       			</Window>
       		</Tab>
       	</TabGroup>
       </Alloy>
       
    Simply try creating a controller with this view. And try to compile it with 3.1.3 Obsevered results:- Menu bar not coming However if you try to compile the same code with 3.1.0, it will show you the menu items on android.
  2. ankur garha 2013-10-11

    Has anybody started looking into this issue?
  3. Jamie Buckley 2013-10-13

    Hi Ankur, I have just tested this issue and I was unable to reproduce it, Can you provide me with some more information: Android Device? Android Version? And if possible could you provide screenshots demonstrating the issue.

JSON Source