Created
December 15, 2011 00:40
-
-
Save mauropm/1479301 to your computer and use it in GitHub Desktop.
Showing ActivityIndicator inside a View
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var win1 = Titanium.UI.createWindow({ | |
title:'Test', | |
backgroundColor:'#000' | |
}); | |
var myview = Ti.UI.createView(); | |
var actInd = Titanium.UI.createActivityIndicator({ | |
height:50, | |
width:10 | |
}); | |
myview.add(actInd); | |
actInd.show(); | |
myview.show(); | |
win1.add(myview); | |
win1.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment