Skip to main content

Posts

Showing posts with the label appcelerator-mobile

image won"t show in tableView

I'm creating a tableView in appcelerator (Android) and I want to add an image to it. This is just a test because I also had some problems with it in my project and I wanted to try it out first somewhere else so I wouldn't ruin my whole project. I first added the standard png's to see if he would show those, and he did. But when I add a png that I've created, he refuses to show it in the tableView. Does someone know why he refuses to show the image? (I created that png in photoshop by changing one of the standard png's and adding my image to it.) var win = Titanium.UI.createWindow({ title:'tableViewRow', backgroundColor:'#fff' }); var regData = [ {leftImage:'KS_nav_ui.png', title:'gft', left:20, color:'black'}, {rightImage:'KS_nav_views.png', title:'grofvuil', left:20, color:'black'}, {leftImage:'glas.png', title:'glas', left:20, color:'black'} ]; var tbl = Titanium.UI