O'Reilly logo

Appcelerator Titanium Smartphone App Development Cookbook - Second Edition by Jason Kneen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Creating Animations, Transformations and Implementing Drag and Drop

In this chapter, we will cover the following recipes:

  • Animating a view using the Animate method
  • Animating a view using 2D Matrix and 3D Matrix transforms
  • Dragging an ImageView using touch events
  • Scaling an ImageView using the slider control
  • Saving our funny face image using the toImage() method

Introduction

Almost any control or element in Titanium can have an animation or transform applied to it. This allows you to really enhance your applications by adding a level of interactivity and bling that your apps would otherwise perhaps not have.

In this chapter, we will create a small application that allows the user to choose a funny face image, which we are going to position over ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required