A basic tip calculator in Android