Titanium JIRA Archive
Alloy (ALOY)

[ALOY-277] Implement Ti.Android.Menu parser

GitHub Issuen/a
TypeStory
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2012-09-29T22:03:32.000+0000
Affected Version/s2012 Sprint 19
Fix Version/s2012 Sprint 20, Release 3.0.0
ComponentsXML
Labelsnotable
ReporterTony Lukasavage
AssigneeUnknown
Created2012-09-17T16:52:45.000+0000
Updated2018-03-07T22:25:33.000+0000

Description

Something alone the lines of:
<Alloy>
    <Window>
        <Menu platform="android"> 
            <MenuItem title="option 1" icon="icon1.png" onClick="doSomething"/>
            <MenuItem title="option 2" icon="icon2.png" onClick="doSomethingElse"/>
            <MenuItem title="option 3" icon="icon3.png" onClick="doSomethingCompletelyDifferent"/>
        </Menu>
    </Window>
<Alloy>
We may even be able to eliminate the platform="android" all together.

Comments

  1. Tony Lukasavage 2012-09-29

    Ti.Android.Menu and Ti.Android.MenuItem parsers implemented. Also added a "ui/android_menu" test app that demonstrates usage of basic properties as well as events.

JSON Source