Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28064] Android: Setting border fills view when backgroundColor is not specified

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-08-11T15:14:05.000+0000
Affected Version/sRelease 9.1.0
Fix Version/sRelease 9.1.0
ComponentsAndroid
Labelsregression
ReporterGary Mathews
AssigneeGary Mathews
Created2020-08-03T21:08:12.000+0000
Updated2021-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();

Comments

  1. Gary Mathews 2020-08-03

    9_1_X: https://github.com/appcelerator/titanium_mobile/pull/11862
  2. Satyam Sekhri 2020-08-10

    [~gmathews] Kindly create PR's on master and 9_3_X branch as well.
  3. Samir Mohammed 2020-08-11

    *Closing ticket*. Fix verified in SDK version 9.1.0.v20200810120239, 9.2.0.v20200811072454 and 9.3.0.v20200811054551. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/11862

JSON Source