Created
September 11, 2011 23:05
-
-
Save LearningTitanium/1210253 to your computer and use it in GitHub Desktop.
createActivityIndicator on titanium
This file contains 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 win = Titanium.UI.createWindow({ | |
title:'Learning Titanium - Activity Inticator', | |
backgroundColor:'#ccc' | |
}); | |
var actInd = Ti.UI.createActivityIndicator({ | |
width:50, | |
height:50, | |
message: 'Hello there!', | |
color: 'FF0000' | |
}) | |
actInd.show(); | |
/* | |
var actInd = Titanium.UI.createActivityIndicator(); | |
actInd.show(); | |
actInd.setMessage("loading.."); | |
actInd.setColor('ff0000'); | |
//actInd.setStyle(Titanium.UI.iPhone.ActivityIndicatorStyle.BIG) | |
//win.add(actInd); | |
win.setRightNavButton(actInd); | |
actInd.show(); | |
*/ | |
win.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment