Community Questions & Answers

Animation in android....

Hi Everyone, i have a view on the right side of the row. When i click the row ,my view animates in . Please check my code: ~~~ row.addEventListener('click', function(evt) { Ti.API.info('row click'); if...

Sliding between two labels

Hi, Im trying to simulate a slide effect between two views which alternates. the idea is as follow : the label1 has a first text. when I click on a button, the label2 which is offscreen at the right gets a new text, then label1 and label2 go left so that...

Window slide out animation problem

Hey folks! I've got a weird problem with the animation of windows. First of all: Because of a special customer wish, I cant use tabgroups and have to open each window for itself with an own navigation bar. I have recorded a video to show the problem:...

Best practices for event listeners, using views as backgrounds, views without focus/off screen and requires, hide or remove/add?

These questions are aimed at helping with lagging animation on Android. Question 1: My app requires 45 events are listened for. I have moved them all into one listener with a very long switch/case so as to cut down on the number of listeners, some cases...

Rotate Image 360 Degrees

Hi Everyone, I am having issues trying to rotate an image 360 degrees. I have tried to google the answer to this and it seems like this might be a bug. Here is the code that I am trying to use to rotate the image. From what I have read there are issues...

Submitting patches

Hi, While working on our app, we've found several issues / bugs in the Titanium code on Android. Issues are mostly related to activity management, but also in the code generation (NULL pointer access in the templates). After working the last couple of...

Indefinite animation in Android

Hi, with SDK 3.2.0 it seems that the repeat parameter with -1 is ignored for indefinite animation: ~~~ view.animate({ transform: Ti.UI.create2DMatrix({ rotate: 360 }), duration: 3000, repeat: -1 }); ~~~ This does work with SDK 3.1.3. Now the...

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

Flipping between 2 views on click/tap

Hi folks, Quick one here, and I've got myself in a right old mess! OK, so here is what i need my app to do..... 1. Shows an initial 'view' with a text label attached, say 'View 1' 2. User can tap that view, which flip animates in a second view and...

Help with an Accordion or Alternative

Does anyone have an Idea on how to create an accordion that if you click the button for it to drop down in the drop down you have information displayed in text boxes ?? Or if there is no way for that any alternative Please help

Showing 1-50 of 797 1 2 3 4 5 616