Community Questions & Answers

Use animation to hide and show view

Hello everybody, I try to use animate to hide and show view. the problem is that I can't resize the view to his original height. this is my code: ~~~ '$.branchDetailsView.addEventListener('click', function(e) { if (branchDetailsOpen == false)...

info animation (can I do this with Titanium?)

Hi, I like some of the animations in this app: http://www.peekcalendar.com/ (see video, eg around sec. 00:06). Is there any possibility to do this with Titanium? Could you eventually tell me how? Any code example?

Scrollview scroll animation row

Hi everyone, i have one problem relate on ScrollView children. It about - when user scrolling Down/Up make animation height on children 1st to small and while doing animation on children 1st it will do animation hight on children 2nd to big. Any idea?...

Animating views in ListView Items

I have some labels and a button in my ListItem that I would like to move with animation when the item is selected. I can work out how to move them a per below, but not how to animate. ~~~ function itemSelected(e) { var item =...

Animating a view on iPhone not working

I'm implementing a simple view that "slides up" when a button is clicked. On Android it's working perfectly however iOS (testing on iOS simulator) is not animating at all, including the "warn" from the callback function is not being...

Animating row height changes

Hi, I'm trying to add a nice animation to my row. When the user clicks on the row I want it to increase in height to show some extra buttons. I've tried to add an animation to allow the row to increase in height slowly, but when the row is pressed nothing...

Implementing a flipcard?

I'm trying to build a flipcard animation: Flipping from first to the second one works: ~~~ users_view.animate({view:profile_view,transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT}); ~~~ but when I try to do it in...

Reverse window.open() animation on close

This might be a dumb question, so forgive me in advance :) When using an animation to open a window, is there a way to reverse that animation when it closes? Example, let's say you open a window as such: ~~~ win.open({ transition:...

Move view without animation

With this code I move a view from a point to another one animating it: ~~~ var m = Ti.UI.create2DMatrix(); m = m.translate(0, 175); var a = Ti.UI.createAnimation(); a.transform = m; a.duration = 300; myView.animate(a); ~~~ Now, I want to do a different...

Stop animation

Hello I am trying to stop an animation. I looked into kitchensink app how they do it, but it doesn't seem to work for me. I use the following code: ~~~ var a = Titanium.UI.createAnimation(); a.top = 400; a.left = 0; a.duration = 5000; flag.animate(a,...

iOS animation flicker

Hello, I have a simple timer that updates every 1/10 of a second using setTimeout ~~~ /** * * Calculates the time elapsed in milliseconds and displays * the total elapsed * */ showElapsed:...

Android animation

Hello friends, I have a question since I am trying animations and want to make a little more advanced animations equal to flip card, fading, etc.. But Android can not find anything in the official documentation Titanium android if this but not if there is...

Showing 1-50 of 866 1 2 3 4 5 618