App to draw a yellow rectangle on an Android device.
Go to file
2018-03-21 13:31:47 +01:00
.idea initial commit. 2018-03-21 12:28:13 +01:00
app initial commit. 2018-03-21 12:28:13 +01:00
gradle/wrapper initial commit. 2018-03-21 12:28:13 +01:00
.gitignore initial commit. 2018-03-21 12:28:13 +01:00
build.gradle initial commit. 2018-03-21 12:28:13 +01:00
gradle.properties initial commit. 2018-03-21 12:28:13 +01:00
gradlew initial commit. 2018-03-21 12:28:13 +01:00
gradlew.bat initial commit. 2018-03-21 12:28:13 +01:00
README.md Update README.md 2018-03-21 13:31:47 +01:00
settings.gradle initial commit. 2018-03-21 12:28:13 +01:00

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