Download APK:
TipCalculator.apk
Layout code (main.xml)
Java code