Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2854] Android: Feautre request: set icon property when creating MenuItem

GitHub Issuen/a
TypeNew Feature
PriorityTrivial
StatusClosed
ResolutionWon't Fix
Resolution Date2012-06-27T00:00:57.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsAndroid
Labelsandroid, feature, menuitem, reported-1.5.1
ReporterAlan Leard
AssigneeVishal Duggal
Created2011-04-15T03:31:13.000+0000
Updated2012-06-27T00:00:57.000+0000

Description

User would like ability to call this:

var saveMI = menu.add({ title: "Save",itemId: 410, icon:'image/menu.png' });

insetad of:

var saveMI = menu.add({ title: "Save",itemId: 410 });
cancelMI.setIcon("/images/ic_menu_close_clear_cancel.png");

Reference Ticket: http://developer.appcelerator.com/helpdesk/view/66341">http://developer.appcelerator.com/helpdesk/view/66341

Comments

No comments

JSON Source