Community Questions & Answers

imageview placeholder

i have images which loads url . i want to display the alternative text if image is not available .. also i want to show the indicator in imageview which hides automatically when image download from the server .. any help?

Problem displaying picture

Hi, I am programming an app where I want to display a picture in a scrollable view where the first view is the picture of the item with its name and there are three other views with data about the item. The problem I am facing is that the first view does...

Image scale fill in view

Hello, I can not seem to fill a view with an image keeping the proportion : ~~~ var imageLeft = Ti.UI.createView({ width:100, height:80, top : 5, left : 5, borderRadius: 3, borderWidth: 1, backgroundColor : '#000' }); var image =...

Baffled. Saving rotated image

I started out thinking I had a camera related issue, but it turns out its a basic image question. I have an image loaded in an image view, I rotate it and then I want to save the image. I can see the image rotated on the screen but what gets saved is...

imageview with https URL not working

Hi, all I have a problem to let imageview use https url, but I got warning message like below and image not display in imageview ~~~ [WARN] : Unable to securely connect to MYDOMAIN.COM with the latest TLS. Trying again with TLS1.0. It is highly...

Stop animation effect

Am making a "Syncing" animation effect. When the user press "Sync" the animation begins. If the user press "Cancel" the animation should stop, but that doesn't happen. Reading the Q&A and the Doc, calling the animation...

Strange issue with ImageViews in Android project

Hi everybody, in an Android project it happens a very strange thing: I add images to my project this way: ~~~ var logo = new commonImageView('/images/assets/logo.png', '85%', '14%'); self.add(logo); ~~~ CommonImageView is the following: ~~~ function...

imageView 100% width / auto width bug

For some reason, it looks like setting an imageView (with remote image) to 100% height and auto width is not working. I want the image to fill the height of the parent container. This container has deviceHeight, 100% of the screen. But I need the image to...

Remote images not showing up

I have an example image http://50.56.32.41/profile/p.png that I am trying to display in an ImageView, and if I open up safari on the iOS simulator it comes up, but when I try it ` var profilePic =...

Imageview with equal padding

I have been trying to no avail on both android and ios to create Fancy imageview. It is really nice with equal whitespace padding around the image and label+action buttons at the bottom. Does anyone has any idea how we can create such ui? I am attaching...

Crop imageView

I was curious how I can crop an image. I searched Q&A without success. I have an image that I want to set to a certain width. When I set the width however, the image is being resized - the height is automatically adjusted as well. As such, even...

ImageView doesn't refresh after rewriting file

When displaying an image in an ImageView, then rewriting the image file on the disk and setting the image property of the image to the new file object, the ImageView does not refresh. I need this for displaying an image and letting the user replace it by...

Independt Click event for Imageview contained in Tableview which also has a click event

I have a tableview for which I have the 'click' event defined. In this I have rows and in one of the rows there is an image. I want to have a 'click' event for this imageview. However, when the click event of the imageview is fired, it also fires the click...

ImageView and animation images array

I've got an issue with the imageView and using the parameter images. On SDK 2.1.5 the following code works as expected, each image in the array is scaled to 75dp. On SDK 3.0.3/3.0.2.GA the view is scaled correctly but the images overflow the boundaries...

Showing 1-50 of 840 1 2 3 4 5 617