Home > Tricks & Tips > Animation for sliding from left to right

Animation for sliding from left to right


Quick snippet for sliding objects from left to right

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
	android:shareInterpolator="false">
    <translate
    	android:fromXDelta="-100%" android:toXDelta="0%"
        android:fromYDelta="0%"    android:toYDelta="0%"
        android:duration="700"
    />
</set>

Cheers,
Pete Houston

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: