[TIMOB-20265] Android: Ti.UI.View "borderRadius" property not working on android 4.4.2 & 4.2.2
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-02-01T06:51:56.000+0000 |
| Affected Version/s | Release 5.2.0 |
| Fix Version/s | Release 5.2.0 |
| Components | Android |
| Labels | qe-5.2.0, regression |
| Reporter | Lokesh Choudhary |
| Assignee | Srikanth Sombhatla |
| Created | 2016-01-21T23:37:34.000+0000 |
| Updated | 2017-05-18T05:20:23.000+0000 |
Description
This is a regression. Works fine with SDK 5.1.2.GA.
Steps To Reproduce:
1. Use the code below in your app.js:
var win = Ti.UI.createWindow({});
var view = Ti.UI.createView({
backgroundColor:'white',
height : Ti.UI.FILL,
width : Ti.UI.FILL,
borderRadius : '50',
//borderWidth:'20',
//borderColor:'red'
});
win.add(view);
win.open();
2.Build for android 4.4.2 & 4.4.2 & also with android 6.0 or 5.1.0.
3.After the app launches look at the edges of the view.
Actual Results:
1. The edges of the view are not rounded even though the "borderRadius" property is specified on android 4.4.2 & 4.2.2. 2. We see the rounded edges on android 6.0 ,5.1.0 & 4.4.4. Attaching screenshots for reference.Expected Results:
1. Rounded edges should be visible when "borderRadius' is specified on android 4.4.2 & 4.2.2.Attachments
| File | Date | Size |
|---|---|---|
| Android_4.2.2.png | 2016-01-21T23:35:47.000+0000 | 82947 |
| Android_4.4.4.png | 2016-01-21T23:36:41.000+0000 | 89314 |
| Nexus6P.png | 2016-01-21T23:35:43.000+0000 | 48530 |
[~ssombhatla] Can you provide a backport for this PR (fix version is 5.2.0)?
[~hansknoechel] I believe the fix version should be 5.2.0. So a back port is needed ? cc [~cng]
[~ssombhatla] yes we need this revert PR backported for 5.2.0 definitely.
5_2_X backport PR: https://github.com/appcelerator/titanium_mobile/pull/7658
Tested on: Nexus 6P (6.0.1)
This is still an issue under Titanium SDK 5.2.2.GA
Hi [~chrisribe], Me and [~lchoudhary] are unable to reproduce what you are seeing, would you be able to provide more info like a code snippet, device & andriod version etc