Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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();
Add Comment
Please, Sign In to add comment