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

Animation for sliding from right to left


Quick snippet for sliding objects from right to left.

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

Cheers,
Pete Houston

  1. simon 27
    September 21, 2014 at 3:03 am

    I don’t even understand how I finished up here,
    but I thought this put up used to be good.
    I do not know who you’re but certainly you’re going to
    a famous blogger in the event you aren’t already. Cheers!

  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: