Created
November 17, 2011 19:19
-
-
Save pec1985/1374146 to your computer and use it in GitHub Desktop.
Android system images
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 win = Ti.UI.createWindow({ | |
| fullscreen:false | |
| }); | |
| var table = Ti.UI.createTableView(); | |
| var row; | |
| var data = []; | |
| for(var i = 17301504; i < 17302359; i ++){ | |
| try{ | |
| if(i < 17301656 || (i > 17301680 && i < 17301755) || i > 17301760){ | |
| var img = Ti.UI.createImageView({ | |
| left:0, | |
| width:50, | |
| height:50, | |
| image:i | |
| }); | |
| var label = Ti.UI.createLabel({ | |
| text:''+i, | |
| left:100 | |
| }); | |
| row = Ti.UI.createTableViewRow({ | |
| className:'a' | |
| }); | |
| row.add(img); | |
| row.add(label); | |
| data.push(row); | |
| } | |
| } catch(e){ | |
| } | |
| } | |
| table.setData(data); | |
| win.add(table); | |
| win.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment