[ALOY-934] Change androidView behavior for optionDialog and similar components
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-07-16T19:07:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.5.0 |
Components | XML |
Labels | qe-manualtest |
Reporter | Tim Poulsen |
Assignee | Tim Poulsen |
Created | 2014-01-22T20:09:06.000+0000 |
Updated | 2014-08-13T22:41:30.000+0000 |
Description
We need to change the androidView behavior for optionDialog (and any other components that support an Android-specific view as a child) so that an AndroidView proxy parser is used rather than creating an arbitrary view. Need also to communicate the change, as it deprecates old behavior. Instead of an anroidView being assigned like this:
<OptionDialog>
<View/>
</OptionDialog>
It should instead be like this, like the rest of the generic view proxy properties:
<OptionDialog>
<AndroidView>
<View/>
</AndroidView>
</OptionDialog>
Comments
- Tim Poulsen 2014-07-16
PR: https://github.com/appcelerator/alloy/pull/485
Test app: https://github.com/skypanther/alloy/blob/ALOY-934/test/apps/testing/ALOY-934
Functional test: build the app for Android, click the label. You should get an option dialog with a label (that's inside an
tag)