Created
December 28, 2011 11:14
-
-
Save minhnc/1527596 to your computer and use it in GitHub Desktop.
Titanium UI Components
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 = Ti.UI.createWindow({ | |
backgroundColor:'#BABABA' | |
}); | |
var ui = require('modules/ui-min'), | |
progressBar = new ui.progressBar( | |
{width: 300, height: 27, backgroundImage: 'assets/images/full_bar.png'}, | |
{backgroundImage: 'assets/images/bar.jpg', borderRadius: 3}, | |
{font: {fontFamily: 'Arial', fontSize: 15, fontWeight: 'bold'}, color: '#fff'} | |
); | |
progressBar.init('Uploading photo...'); | |
win.add(progressBar.view); | |
win.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment