Community Questions & Answers
Change dynamically the "left" parameter of a button
Hi, Is there any way to change dynamically the "left" parameter of a button? I am using button.setLeft(x); or button.left = xx. It takes the first time of setting the left paramater but the second time is not responding.
Animate currentTab.open like the FLIP_FROM_LEFT transition
This opens a new window using FLIP_FROM_LEFT animation ~~~ newWindow.open({transition:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT}); ~~~ This opens a new window on currentTab using a slide animation how do I animate it like the above...
position properties (top, right, bottom, left) not updating after animation
I have a view that I'm trying to toggle with a button using this code.. ~~~ animateSlideIn = Ti.UI.createAnimation({bottom:0}); animateSlideOut = Ti.UI.createAnimation({bottom:(pickerView.height * -1)}); toggleButton.addEventListener('click',function(e)...
Position text left in alertDialogue
Hello Is it possible to position the text left instead of centered in an alertDialogue? Thanks! Tjeu
Cannot animate ImageView
I am trying to animate an ImageView on the x axis and I cannot seem to get it to move at all. I am using the 'createAnimation' and editing the 'left' property. Here is the code I am trying: ~~~ var image =...
Scroll a scrollview as long as user touches a button
How can I scroll a scrollview (to the right or left) as long as the user touches a button? Usage scenario: Have 2 arrows on each end of the scrollview (one pointing to the left, one to the right). If the user touches / holds the button, the scrollview...
Android HTTPClient cannot download a file --> No space left on device
Hi, I am trying to download a tiny file using the Android emulator (Google API 2.2)... Yesterday everything was working....but today when I took and made some tiny changes in my code...downloading a file using the HTTPClient doesn't work...
Updating ImageView property after it's added?
I added an ImageView to a Window with a left position. Later, after a user clicks a button, I'd like to move the ImageView to another coordinate. Here's a example of how that looks: ~~~ var image =...
Android Negative Left & Top Values
Hi, I'm having trouble creating a draggable view (an ImageView) in Android. I can quite happily drag the image down and to the right, but I'm unable to get the image to go past the top of the screen (negative top value) or past the left of the screen...
How can I update the window when the orientation changes?
I added a `Ti.Gesture.addEventListener('orientationchange')` to my class. I'm trying to shift everything left a certain amount when the view updates. How can I do this? `label.left = 100;`?
Overhead Retrieving UI Object Attributes
So yesterday I spent half a day scratching my head trying to figure out why 'for' loop was so slow. After all, it was doing some very basic operations 100 times per second. I was trying to see if Appcelerator was cut out for creating a sidescroller. I was...
Scrollview text fields
Ipod app - If I have a textfield in scrollview and I click in the textfield it shifts the text field to the left as the keyboard opens. If you try to scroll while the text field has focus it will return to is original location. This seems to be a bug of...
Implementing 'flipping page' animation
Hi Is there a library, function, animation, transition style, etc, to implement a flipping page left and right available?
Is this a bug?
On the kitchen sink: view_animation.js change these line: var a1 = Titanium.UI.createAnimation(); a1.left = 10; a1.bottom = 120; a1.duration = 800; var a2 = Titanium.UI.createAnimation(); a2.right = 10; a2.bottom = 80; a2.duration =...
iPhone animation top left value not updated
In Kitchen Sink > Animation > Basic example, when I move around the circle, the touchmove event fired off correctly, but when I tried to get the top value of the view, it always report back 10. Is this a...
image.left clips side of image
I have an ImageView inside a Window. If I just add the image it looks ok, but if I adjust the left property then the left side of the image is cropped (by half the amount given). I am testing on the Android emulator. I am using the default helloworld...
Showing 1-16 of 16