views:

286

answers:

1

Hi,

I've extended android.widget.Chronometer like so:

public class PausableCountdownTimer extends Chronometer 
  implements OnChronometerTickListener {

I would like to be able to add this widget to my UI via main.xml:

<com.example.myproject.PauseableCountdownTimer
...
/>

but I get this error message in Eclipse:

ClassNotFoundException:com.example.myproject.PauseableCountdownTimer

Can someone explain what I've done incorrectly? Thx!

A: 

Turns out that the approach above was correct but I had a type on the path to my class that extends Chronometer. Life is good again. :)

Moo