Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5422] Android: Webviews not respecting opacity property

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-07-10T22:08:09.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sn/a
ComponentsAndroid
Labelscore, exalture
ReporterAlan Leard
AssigneeEric Merriman
Created2011-10-03T21:09:45.000+0000
Updated2017-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();

Comments

  1. Lee Morris 2017-07-10

    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.

JSON Source