Community Questions & Answers

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...

Disappointed in UI / Animation

I am new to Titanium, and I am having a hard time believing that Android UI animation only supports 2.0 linear and limited animation. Is there an updated module by the Titanium team that supports 3.0 and 4.0 animation capabilities while gracefully...

Auto scroll and layout issue

Application type:mobile,Titanium SDK:3.2.1,Device:Samsung galaxy grand(Android),OS:Windows 7 Auto scroll ~~~ var db=Ti.Database.open('mydb'); try{ var adrow=db.execute('SELECT linkout,ad_screen,name,id from advertisement'); ...

Animating View when resuming app

Hi guys I m developing ios 7 apps using Titanium 3.2.2 and my question is about resuming apps. I m trying to animate view when apps open and resuming .but when open the apps its work but when ? resumed its not working. Any idea ? ~~~ var box =...

animating formView

I have to formView(s) and am trying to show and hide them using animation, the problem is the first time the button is clicked the form is animating, but when click again it just shows or hide without animation. how can I fix the animation of both...

chart not working in web view for Android

i am running HTML code in webview and that html file need chart.js file reference so i am using following code if (Titanium.Platform.name =='android') { file="/chart.js"; } else { file="chart.js"; } // piechart animation...

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