[AC-6649] Android: elevation on View with custom edge radii renders incorrectly
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | Android |
| Reporter | Teun Klijn |
| Assignee | Abir Mukherjee |
| Created | 2020-12-15T17:12:17.000+0000 |
| Updated | 2020-12-15T17:12:17.000+0000 |
Description
When you set the elevation of a view with multiple values for borderRadius the elevation shadow doesn't follow the borderRadius. This does work correctly when you set the borderRadius to a single value.
*To reproduce*
Run the code on a Android device/emulator
var window = Ti.UI.createWindow({
backgroundColor: 'white'
});
window.add(Ti.UI.createView({
top: 0,
height: 120,
backgroundColor: 'green',
borderRadius: "0 0 60 60",
elevation: 5
}));
window.open();
*Expected behaviour*
The elevation shadow follows the view border.
*Actual behaviour*
The elevation shadow renders as if the view is rectangular.
!Screenshot_1608052255.png|thumbnail!
Attachments
| File | Date | Size |
|---|---|---|
| Screenshot_1608052255.png | 2020-12-15T17:11:09.000+0000 | 38539 |
No comments