GitHub Issue | n/a |
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-02-27T01:10:06.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 7.1.0 |
Components | Android |
Labels | android, api, gradient, parity |
Reporter | Josh Roesslein |
Assignee | Joshua Quick |
Created | 2012-06-04T11:51:56.000+0000 |
Updated | 2018-03-06T22:30:50.000+0000 |
Android's radial gradient shader only supports a single point circle radial gradient.
The Titanium radial gradient follows what is specified in the HTML Canvas specification
and is also the native behavior on iOS.
We should investigate a way to implement our own radial gradient that follows
the HTML Canvas specification or wait for Android to expose this type of gradient in the future.
It has been implemented in Skia, so it is possible this will be added in a future API level.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/9815
PR (7.1.x): https://github.com/appcelerator/titanium_mobile/pull/9855
FR Passed. PR's merged.
Added new PR for updating docs: https://github.com/appcelerator/titanium_mobile/pull/9903 Backported to 7_1_x https://github.com/appcelerator/titanium_mobile/pull/9905
Thanks for updating the docs [~topener]! :)
Doc change PR's passed FR. PR's merged.
Verified the fix in SDK 7.2.0.v20180305152636 & 7.1.0.v20180306061214. Closing. Studio Ver: 5.0.0.201712081732 OS Ver: 10.13.2 Xcode Ver: Xcode 9.2 Appc NPM: 4.2.12 Appc CLI: 7.0.2 Daemon Ver: 1.0.1 Ti CLI Ver: 5.0.14 Alloy Ver: 1.11.0 Node Ver: 8.9.1 NPM Ver: 5.5.1 Java Ver: 1.8.0_101 Devices: ⇨ google Nexus 5 — Android 6.0.1 ⇨ google Nexus 6P — Android 8.0.0