I have this code in my app.js file in android and the image folder in my resources:
var win = Titanium.UI.createWindow({ title : "my Name is Reyjohn", backgroundColor : "#FFFFFF", exitOnClose : true }) var img = Titanium.UI.createImageView({ image:"images/Hypedin.png", height:20, width:30 }); win.add(img); win.open();
but not showing the image in the background, where did I make a mistake? I'm new to titanium, please help
source share