Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Copyright 2013 Romain Guy

RoadTrip is a sample application for Android that demonstrates how to implement several visual effects:

  • Animated paths tracing
  • Black & white to color conversion, used when scrolling a row of image to the left (the first image starts in B&W and turns into colors)
  • Pinned scrolling, used to create a “stacked cards” effect when scrolling up and down the list
  • Parallax scrolling, used to scroll the various maps at a different speed than other items
  • Animated action bar opacity, as seen in Google Music

RoadTrip running on Android 4.4

More detailed explanations can be found online.

Watch a video of the application running on a Moto X/Android 4.4.

How to use this source code

The road-trip project can be opened in Android Studio 1.0 or later. It contains a single module called application in the app/ folder.

The project can be compiled from the command line using Gradle.

The actual source code and resources can be found in app/src/main/. The only dependency is in app/lib/.

Source code license

This project is subject to the Apache License, Version 2.0.

Artwork licenses

The file map_usa.svg is derived from an original work by Theshibboleth. This file is licensed under GNU Free Documentation License, Version 1.2 and Creative Commons Attribution-Share Alike 3.0 Unported.

Other map_*.svg files are derived from map_usa.svg and subject to the same licenses.

The ic_launcher*.png files are derived from map_usa.svg and subject to the same licenses.

All other images (.png or .jpg) are copyright Romain Guy and licensed under Creative Commons Attribution-Noncommercial-Share Alike 2.0.

Library licenses

androidsvg-1.2.0 is subject to the Apache License, Version 2.0. More information on the official web site.


A sample Android application that demonstrates how to implement various visual effects.




No releases published


You can’t perform that action at this time.