[ALOY-960] Add support for ContentView in Popover Alloy View xml
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Low |
| Status | Resolved |
| Resolution | Duplicate |
| Resolution Date | 2014-02-18T15:55:48.000+0000 |
| Affected Version/s | Alloy 1.3.1 |
| Fix Version/s | n/a |
| Components | XML |
| Labels | Alloy, View, popover |
| Reporter | Thomas Neerup |
| Assignee | Unknown |
| Created | 2014-02-11T07:52:42.000+0000 |
| Updated | 2018-03-07T22:26:10.000+0000 |
Description
When creating a popover in Alloy it should be possible to define the ContentView in the View xml something like the xml bellow.
Today You have to set the contentView in code.
<Alloy>
<Popover height='100' width='250'>
<RightNavButton>
<Button onClick='showAlert'>Robin</Button>
</RightNavButton>
<ContentView>
<NavigationWindow>
<Window title="Mr Window."></Window>
</NavigationWindow>
</ContentView>
</Popover>
</Alloy>
Moving this improvement request to engineering for consideration.
Already resolved in ALOY-940