Code example for Chronometer

Methods: setBase, setFormat, start

0
	private void myReset(final TextView lifeText, final TextView poisonText,
			RatingBar star, Chronometer chron) {
		lifeText.setText("20");
		poisonText.setText("0");
		star.setRating(0);
		chron.setFormat("     %s");
		chron.setBase(SystemClock.elapsedRealtime());
		chron.start();
	} 
 
	private void yourReset( 
			final com.android.lifecounter.UpsideDownText lifeText,
			final com.android.lifecounter.UpsideDownText poisonText,
			com.android.lifecounter.UpsideDownStar star,
			com.android.lifecounter.UpsideDownChron chron) {
		lifeText.setText("20");
		poisonText.setText("0");
		star.setRating(0);
		chron.setBase(SystemClock.elapsedRealtime());
		chron.setFormat("     %s");
		chron.start();