App to draw a yellow rectangle on an Android device.
.idea | ||
app | ||
gradle/wrapper | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
README.md | ||
settings.gradle |
Drawing a Yellow Rectangle on Android
This is a gradle-based project for Android Studio, tested in Version 3.0.1. It builds an App "YellowRectangle" providing an activity "DrawYellowRectangle".
The app, when launched, clears the display and draws a yellow rectangle on a black backdrop.
The app will exit on the first touch event.
Dependencies
This project depends on the Allegro game development library (http://liballeg.org); the dependency is automatically resolved by Android Studio using the Maven AAR distribution at JFrog Bintray (https://bintray.com/liballeg/maven).
Credits
Elias Pschernig's step-by-step tutorial on using Allegro with Android Studio (https://github.com/liballeg/android).