[ALOY-277] Implement Ti.Android.Menu parser
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | Medium |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-09-29T22:03:32.000+0000 |
| Affected Version/s | 2012 Sprint 19 |
| Fix Version/s | 2012 Sprint 20, Release 3.0.0 |
| Components | XML |
| Labels | notable |
| Reporter | Tony Lukasavage |
| Assignee | Unknown |
| Created | 2012-09-17T16:52:45.000+0000 |
| Updated | 2018-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.
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.