[TIMOB-23153] Allow platform specific properties to be set via xml attributes
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | 360 |
| Labels | alloy, attribute, platform, xml |
| Reporter | Brenton House |
| Assignee | Unknown |
| Created | 2016-03-29T14:02:09.000+0000 |
| Updated | 2018-02-28T19:54:55.000+0000 |
Description
{quote}As a developer,
I want to set properties for a specific platform from an xml view,
So that I can control how views look on different platforms using only xml view.{quote}
<Alloy>
<Label
ios:text="This is on iOS"
android:text="This is on Android"
mobileweb:text="This is on MobileWeb" />
</Alloy
No PR has been created yet. I will update this ticket after PR containing feature and tests has been submitted.
https://github.com/mobilehero/adamantium/issues/26
Thanks for submitting the feature request. Please create a PR. Moving this ticket to Engineering. Regards, Sharif