[TIMOB-27946] Android: Implement Ti.View.borderRadius multiple values for custom edge radii
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-08-06T12:19:12.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.1.0 |
Components | Android |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Gary Mathews |
Created | 2020-06-08T17:08:25.000+0000 |
Updated | 2021-02-23T05:42:51.000+0000 |
Description
A developer should be able to configure custom border radii, e.g. bottom-left, bottom-right, top-left and top-right. The size of the radius can and should be reused from the existing border-radius property.
Example:
var win = Ti.UI.createWindow({
backgroundColor: '#333'
});
var view = Ti.UI.createView({
backgroundColor: '#fff',
height: 350,
bottom: 0,
borderRadius: '20px 20 20dp 15px',
});
win.add(view);
win.open();
-master: https:\//github.com/appcelerator/titanium_mobile/pull/11114-
https://github.com/appcelerator/titanium_mobile/pull/11796
FR Passed, waiting on Jenkins build.
merged to master for 9.1.0 target
Fix verified in build 9.1.0.v20200804082025. Ticket closed.