[TIMOB-28064] Android: Setting border fills view when backgroundColor is not specified
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-08-11T15:14:05.000+0000 |
Affected Version/s | Release 9.1.0 |
Fix Version/s | Release 9.1.0 |
Components | Android |
Labels | regression |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2020-08-03T21:08:12.000+0000 |
Updated | 2021-01-18T12:28:50.000+0000 |
Description
- Setting a border will fill the view with
borderColor
if a backgroundColor
is not specified
*TEST CASE*
const window = Ti.UI.createWindow({
backgroundColor: 'white'
});
const border = Ti.UI.createView({
width: 200,
height: 200,
borderRadius: 5,
borderColor: 'gray',
borderWidth: 3
});
window.add(border);
window.open();
9_1_X: https://github.com/appcelerator/titanium_mobile/pull/11862
[~gmathews] Kindly create PR's on master and 9_3_X branch as well.
*Closing ticket*. Fix verified in SDK version
9.1.0.v20200810120239
,9.2.0.v20200811072454
and9.3.0.v20200811054551
. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/11862