From f2b0fc27d3b16cf819dc1d5e15bbc6b60b4aa86b Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sat, 26 May 2012 13:50:57 -0600 Subject: [PATCH] Bugfixes, add vibrator, single begin/end button * Handles rotation when timers are running * Sets buttons to disabled when paused * Vibrates at 10s remaining on any timer * One button for jam begin and jam end I still need help figuring out how to get the buttons to change color. --- AndroidManifest.xml | 1 + res/layout/main.xml | 4 +- src/org/woozle/penaltytimer/JammerButton.java | 6 +- src/org/woozle/penaltytimer/PenaltyTimer.java | 65 ++++++++++++------- src/org/woozle/penaltytimer/TimerButton.java | 32 +++++---- 5 files changed, 65 insertions(+), 43 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 41abb51..151f685 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -12,4 +12,5 @@ + diff --git a/res/layout/main.xml b/res/layout/main.xml index 6b7bf81..e3366cd 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -12,9 +12,9 @@ android:stretchColumns="*">