GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-09-17T20:56:41.000+0000 |
Affected Version/s | Release 3.1.0, Release 3.1.1 |
Fix Version/s | 2013 Sprint 19, 2013 Sprint 19 API, Release 3.2.0 |
Components | Android |
Labels | module_activityindicator, qe-manualtest, qe-testadded, supportTeam |
Reporter | Rupesh Sharma |
Assignee | Ping Wang |
Created | 2013-08-19T06:32:23.000+0000 |
Updated | 2014-11-19T23:30:43.000+0000 |
Description
First time when you open the new window having activity indicator added, it shows an old style, like the one on older android versions. Close the window (by pressing the back button) and re-open it. From the second time onwards, you'll see it show the correct Holo Theme style.
Test Case
app.js :
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var btn = Ti.UI.createButton({title:'open video'});
btn.addEventListener('click',function(){
videoWin.open();
actInd.show();
});
win1.add(btn);
var videoWin = Ti.UI.createWindow({
title:'video player',
backgroundColor:'#000',
fullscreen:true
});
var actInd = Ti.UI.createActivityIndicator({zIndex:1,style:Ti.UI.ActivityIndicatorStyle.BIG});
videoWin.add(actInd);
win1.open();
tiapp.xml :
<android xmlns:android="http://schemas.android.com/apk/res/android">
<tool-api-level>17</tool-api-level>
<manifest android:versionCode="1" android:versionName="1.0.0">
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="17"/>
</manifest>
</android>
Tried with Google Nexus with Android version 4.3, I couldn't see the issue. If possible, please upload a screenshot.
PR: https://github.com/appcelerator/titanium_mobile/pull/4704
This fix is in 3.2.0 which will be released in Dec.
Was able to reproduce the issue using 3.1.3.GA on Google Nexus Galaxy 4.3 Verified fixed with: TiSDK 3.2.0.v20131018154951 CLI 3.2.0 Titanium Studio 3.2.0.201310181940 Closing.