[TIMOB-26187] Android: CardView not visible when borderRadius is set
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-07-12T13:24:56.000+0000 |
Affected Version/s | Release 7.3.0 |
Fix Version/s | Release 7.3.0 |
Components | Android |
Labels | android |
Reporter | Luc-Edmond Gaspard |
Assignee | Gary Mathews |
Created | 2018-07-06T16:03:37.000+0000 |
Updated | 2018-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();
Hello, I was able to validate the issue in SDK 7.3.0 and 7.4.0. Moving to engineer. Thanks.
The card view is not visible in SDK 7.4.0.v20180705134610 versions. This is a regression. Thanks.
This may be a regression of TIMOB-25835 (via [#9900](https://github.com/appcelerator/titanium_mobile/pull/9900)).
[~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
FR Passed. Waiting for CR to merge.
*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