Project: titanium
Issue TIMOB-23160: Windows: Activity Window opens with black background
I am trying to implement an Activity Indicator for our App. The code I am running is as follows : {code:java} var indicatorWindow = Ti.UI.createWindow({ opacity : 1, backgroundColor : 'transparent' }); var activityIndicator = Ti.UI.createActivityIndicator({ message: 'Loading...' }); indicatorWindow.add(activityIndicator); indicatorWindow.addEventListener('indicatorShow', function(e) { indicatorWindow.open(); activityIndicator.show(); }); indicatorWindow.addEventListener('indicatorHide', function(e) { activityIndicator.hide(); indicatorWindow.close(); }); {code} And then I am calling the following events from another page : {code:java} IndicatorWindow.fireEvent('indicatorShow'); Some task here... IndicatorWindow.fireEvent('indicatorHide'); {code} The Activity windows opens up with a Black background instead of a transparent one (see screenshot attached). The same code works on Android, iOS and Web though.
Story points: 1