Hi,
I see that when you specify height for imageView. the width is automatically calculated. but when you specifiy the width, the height is not calculated...
have you any information about that. i want to display photos like this : http://dzmob.net/photos2.png
3 Answers
refer http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.ImageView-property-height I think this can help you,You can use auto property but as it is deprecated , can set Titanium.UI.SIZE
I have used ImageView with declaration of only width of the image and shows the image with its by default height.
var footer_banner=Ti.UI.createImageView({ image:'Banner.jpg', top:1100, left:60, width:'920' });
What is the exact thing you are looking for?Do you want to set the height = size of the actual image?can you give more details so that i can help you
Your Answer
Think you can help? Login to answer this question!