[TIMOB-20113] Android: Rounded view is not being shown if its size more than screen size
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-12-15T08:19:35.000+0000 |
Affected Version/s | Release 5.1.1 |
Fix Version/s | Release 5.2.0 |
Components | Android |
Labels | android |
Reporter | Fix Please |
Assignee | Ashraf Abu |
Created | 2015-11-22T08:32:48.000+0000 |
Updated | 2017-05-12T19:48:24.000+0000 |
Description
var size = 400;
var view = Ti.UI.createView({
zIndex: 0,
backgroundColor: 'green',
opacity: 0.7,
borderColor: 'green',
borderWidth: size / 2,
borderRadius: size / 2,
width: size,
height: size,
left: 50,
top: 5,
});
$.index.add(view);
size = 490;
var view = Ti.UI.createView({
zIndex: 0,
backgroundColor: 'red',
opacity: 0.7,
borderColor: 'red',
borderWidth: size / 2,
borderRadius: size / 2,
width: size,
height: size,
left: 50,
top: 150,
});
$.index.add(view);
var view = Ti.UI.createView({
zIndex: 0,
backgroundColor: 'blue',
opacity: 0.7,
width: size,
height: size,
left: 50,
top: 300,
});
$.index.add(view);
$.index.open();
Attachments
File | Date | Size |
---|---|---|
ViewSizeTest.jpg | 2015-11-22T08:31:48.000+0000 | 91822 |
Managed to reproduce with this message in the logs:-
and
Classic app.js to reproduce:-
Tested with 5_2_0. This seems to be working well.
Resolving this as Fixed as the 5_2_0 branch faces no issues with this.
Verified with latest 5.2.0 SDK & issue is not seen. Closing. Environment: Appc Studio : 4.5.0.201601131150 Ti SDK : 5.2.0.v20160114021251 Ti CLI : 5.0.5 Alloy : 1.7.26 MAC Yosemite : 10.10.5 Appc NPM : 4.2.2 Appc CLI : 5.1.0 Node: v0.12.27 Nexus 6P - Android 6.0 Nexus 5 - Android 5.1.1 Genymotion Emulator: Android 5.1.0
With 5.4.0.v20160802165655 the red circle is gone again:
I am seeing this issue in 5.3.1 and 5.4 as well. I have a view with borderRadius 2dp and the content is larger than the screen. It doesn't happen on all android devices just the smaller ones.
I also have the same issue in 5.5.
+1 - Same issue on 5.5.1
+1 - Having issue on 6.0.0.GA
lol
Seeing this as well.... 5.5.1