[ALOY-720] Allow Widgets as child of Menu tag
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-20T02:08:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.2.0, 2013 Sprint 15 |
Components | Widgets, XML |
Labels | qe-testadded |
Reporter | Timan Rebel |
Assignee | Tony Lukasavage |
Created | 2013-06-24T12:50:30.000+0000 |
Updated | 2014-02-04T20:21:49.000+0000 |
Description
We use one codebase for our iOS and Android app and like to reuse as much code as possible. It is not possible however to use a Widget inside a
PR: https://github.com/appcelerator/alloy/pull/191 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-720 This should be tested on at least iOS and Android.
iOS
Run the app
Click the rightNavButton in the nav bar
Confirm that an alert dialog with the word "save" pops up
android
Run the app
Click the menu button
Click the resulting menu button labeled "android"
Confirm that an alert dialog with the word "save" pops up
Verified working as expected. Titanium SDK 3.1.2.v20130730133101 Alloy 1.2.0-alpha2 Appcelerator Studio 3.1.2.201307261628 CLI 3.1.1 Node 0.8.22 Closing.
Test case for iOS has to be updated as Titanium.UI.iPhone.NavigationGroup is no longer supported. Following code works: