Sample code from Romain Guy's article Android Recipe #2, fun with shaders and ported to use Android Studio & Gradle. Sample code works from Android 2.3 (API Level 9) using the NineOldAndroids.
A demo video of the Spotlight animation can be found on YouTube.
The Spotlight-Gradle project can be opened in Android Studio. It contains a single module called app 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 dependencies are in app/lib/.
NineOldAndroids is subject to the Apache License, Version 2.0. More information on the official web site.