Skip to content

Instantly share code, notes, and snippets.

@mauropm
Created December 15, 2011 00:40
Show Gist options
  • Save mauropm/1479301 to your computer and use it in GitHub Desktop.
Save mauropm/1479301 to your computer and use it in GitHub Desktop.
Showing ActivityIndicator inside a View
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