I need to display large sized images(500+px) on coverflow. When i display those on the coverflow i found that the images partially lay on the another.Suggest an another alternative solution or please add another parameter like space between images in coverflow. Having them could override this issue.
EDITED:
--------------
I have added the sample code:
var win = Titanium.UI.createWindow({
backgroundColor : "#FFFFFF",
tabBarHidden : true
});
win.addEventListener("close", function(e) {
Ti.API.info("Inside the WIN close")
alert("Inside the WIN close");
})
var coverflowArray = [];
for (var i = 0; i < 5; i++)
coverflowArray.push({
width : 500,
height : 500,
image : "
http://s12.postimg.org/8lzz09cu5/1000.jpg"
});
var coverFlow = Ti.UI.iOS.createCoverFlowView({
images : coverflowArray
});
win.add(coverFlow);
win.open();
You should resize the image before you push it to the Coverflow. You can follow the Q&A discussion here: https://developer.appcelerator.com/question/5361/resize-images-in-cover-flow Another blog you might be interested in: http://sapandiwakar.in/resizingscaling-images-in-titanium-cover-flow/
The coverflow works fine with small images(<400px). But the coverflow gets clustered only when i use above 500px.Desperately i need to display large size images on my application. I am using the same image resizing logic as referred in those links.