Ready for a release

This commit is contained in:
Neale Pickett 2012-12-08 20:55:20 -07:00
parent 4a46c159fc
commit 162a579f48
2 changed files with 2 additions and 9 deletions

0
res/layout/.empty Normal file
View File

View File

@ -10,7 +10,6 @@ import android.graphics.PorterDuffColorFilter;
import android.graphics.PorterDuff;
import android.os.SystemClock;
import android.os.Vibrator;
import android.util.TypedValue;
import java.util.*;
public class TimerButton
@ -32,10 +31,8 @@ public class TimerButton
public TimerButton(Context context, Button btn, long now) {
vibr = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE);
b = btn;
b = btn;
b.setText("--:--");
b.setTextSize(24);
b.setGravity(Gravity.CENTER);
updateTimer = new Timer();
b.setOnClickListener(this);
b.setOnLongClickListener(this);
@ -43,10 +40,6 @@ public class TimerButton
this.now = now;
}
public void setHeight(int height) {
b.setTextSize(TypedValue.COMPLEX_UNIT_SP, 24);
}
public long remaining() {
if (running) {
return duration - (now - startTime);
@ -79,7 +72,7 @@ public class TimerButton
}
public String str(long remain, boolean tenths) {
return bstr(remain, tenths) + " B";
return bstr(remain, tenths);
}
public void set(long t) {