Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26187] Android: CardView not visible when borderRadius is set

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2018-07-12T13:24:56.000+0000
Affected Version/sRelease 7.3.0
Fix Version/sRelease 7.3.0
ComponentsAndroid
Labelsandroid
ReporterLuc-Edmond Gaspard
AssigneeGary Mathews
Created2018-07-06T16:03:37.000+0000
Updated2018-07-12T14:44:20.000+0000

Description

I'm currently testing SDK 7.3 with our app, a CardView with a border radius is not visible. It used to work in 7.2 and previous versions.
var win = Ti.UI.createWindow({
    backgroundColor:'green'
});
	
var card = Ti.UI.Android.createCardView({	
		//padding: 20,
		backgroundColor: '#ffffff',		
		borderRadius: 5,
		layout: 'vertical'
    });

var label = Ti.UI.createLabel({
	color: 'black',
	text: 'text text text'
});

card.add(label)
win.add(card);
win.open();

Comments

  1. Sharif AbuDarda 2018-07-07

    Hello, I was able to validate the issue in SDK 7.3.0 and 7.4.0. Moving to engineer. Thanks.
  2. Sharif AbuDarda 2018-07-08

    The card view is not visible in SDK 7.4.0.v20180705134610 versions. This is a regression. Thanks.
  3. Hans Knöchel 2018-07-09

    This may be a regression of TIMOB-25835 (via [#9900](https://github.com/appcelerator/titanium_mobile/pull/9900)).
  4. Yordan Banev 2018-07-09

  5. Gary Mathews 2018-07-09

    [~ybanev] I had a quick look at this since it looked like it was caused by my recent change. It turns out TIMOB-25503 is not the cause of this issue. I'm not sure why this has suddenly appeared, but here's an appropriate fix: master: https://github.com/appcelerator/titanium_mobile/pull/10157 7_3_X: https://github.com/appcelerator/titanium_mobile/pull/10158
  6. Lokesh Choudhary 2018-07-10

    FR Passed. Waiting for CR to merge.
  7. Samir Mohammed 2018-07-12

    *Closing ticket.* Verified fix in SDK Version: 7.3.0.v20180711185043 and SDK Version: 7.4.0.v20180712062919 master: https://github.com/appcelerator/titanium_mobile/pull/10157 7_3_X: https://github.com/appcelerator/titanium_mobile/pull/10158

JSON Source