Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14696] Android: Image with Menu text on Menu Item for Android Menu is not being displayed and menu text is cut off

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2013-08-26T17:34:58.000+0000
Affected Version/sRelease 3.1.2
Fix Version/s2013 Sprint 18, 2013 Sprint 18 API
ComponentsAndroid
Labelsqe-3.1.2
ReporterPriya Agarwal
AssigneeSunila
Created2013-07-30T12:10:55.000+0000
Updated2013-12-09T08:25:53.000+0000

Description

Image with Menu text on Menu Item for Android Menu is not being displayed and menu text is cut off. Steps to Reproduce: 1.Install and launch KS. 2.Go to Base UI >Menu (Android)>Menu Handlers (Window Options) 3.Press on open window 4.Press the menu button 5.Press on close window. Expected Result: 3.Window with blue view should show up 4.Should see a graphic with menu text. 5.Window should close. Actual Result: 3.Window with blue view is seen. 4.No image is seen and menu text is also cut off. 5.Window gets close. Not a Regression as occurs in 3.1.1.GA also

Comments

  1. Sunila 2013-08-26

    Android doesn't show the icons for the menu in all cases. Here is the text from Android docs "Options menus: The icon menus do not support item check marks and only show the item's condensed title. The expanded menus (only available if six or more menu items are visible, reached via the 'More' item in the icon menu) do not show item icons, and item check marks are discouraged." Versions older than ICS may show the icon
  2. Sunila 2013-08-26

    Also set the titleCondensed so that if the regular title doesn't fit, the condensed title will show.
  3. Priya Agarwal 2013-12-09

    Verified with test Environment: Appcelerator Studio: 3.2.0.201312081316 SDK:3.2.0.v20131208204843 alloy: 1.3.0-beta acs: 1.0.10 npm: 1.3.2 titanium: 3.2.0-beta titanium-code-processor: 1.1.0-beta Xcode:5.0.2 OS: Mac OSX 10.9 Device: Google Nexus7(v4.3) Closing as per above comments.

JSON Source