Skip to content

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

License

Notifications You must be signed in to change notification settings

pravin-d/road-trip

 
 

Repository files navigation

RoadTrip

Copyright 2013 Romain Guy http://www.curious-creature.org

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published