[ALOY-262] Add shorthand markup for iOS SystemButtons
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-06T20:19:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.3.0, 2013 Sprint 23 |
Components | XML |
Labels | qe-manualtest |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2012-09-13T05:20:58.000+0000 |
Updated | 2014-08-06T22:31:11.000+0000 |
Description
Turn this:
Ti.UI.createButton({
systemButton: Ti.UI.iPhone.SystemButton.CAMERA
});
into this:
<Button systemButton="CAMERA"/>
We can probably do this in the Ti.UI.Button.js parser.
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2014-08-06 at 1.15.37 PM.png | 2014-08-06T20:18:52.000+0000 | 21721 |
Screen Shot 2014-08-06 at 12.45.09 PM.png | 2014-08-06T20:18:52.000+0000 | 35085 |
PR: https://github.com/appcelerator/alloy/pull/272 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-262 Functional test consists of running the app on iOS 6.X and 7 and making sure the rendered toolbar matches the attached screenshots.
Verified showing as expected. TiSDK 3.2.0.v20131127194046 CLI 3.2.0-beta Alloy 1.3.0-beta Titanium Studio 3.2.0.201311262027 iPad OS 7 and simulator Android Google Nexus Galaxy 4.3 MobileWeb (for sample #2) Closing.