[ALOY-964] Support AndroidView in addition to View as child of AlertDialog
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2014-07-16T19:13:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.5.0 |
Components | XML |
Labels | android, qe-manualtest |
Reporter | Tim Poulsen |
Assignee | Tim Poulsen |
Created | 2014-03-03T15:13:27.000+0000 |
Updated | 2014-08-13T22:41:16.000+0000 |
Description
While the API name is AndroidView, Alloy expects child views of AlertDialog to be created with the View tag. It throws an error that Ti.UI.createAndroidView is not a valid method name if you use AndroidView. While it's okay to support View as a shorthand, we should also support AndroidView as a tag.
Reference: http://developer.appcelerator.com/question/163125/cannot-getset-textfield-value-in-alloy#answer-275881
Test case attached with commented-out working code that uses View.
Attachments
File | Date | Size |
---|---|---|
app.zip | 2014-03-03T15:13:27.000+0000 | 5938786 |
Resolved by ALOY-934