[TIMOB-5422] Android: Webviews not respecting opacity property
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-07-10T22:08:09.000+0000 |
| Affected Version/s | Release 1.8.0 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | core, exalture |
| Reporter | Alan Leard |
| Assignee | Eric Merriman |
| Created | 2011-10-03T21:09:45.000+0000 |
| Updated | 2017-07-18T17:48:50.000+0000 |
Description
Setting the opacity property on creation of an object seems to be ignored and always set to 1.0. Animation will respect opacity. See Example:
var win = Ti.UI.createWindow();
var web = Ti.UI.createWebView({
url:'http://appcelerator.com',
opacity:0.5
});
win.add(web);
web.addEventListener('longpress', function(){
web.animate({opacity:0.5, duration:500});
});
win.open();
Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.