First I'm beginner in android.
I want to create a class for handling a progress bar and set some animated action.
Unfortunately,
the system shows the error mentioned in the title.
This is my code:

```
import android.graphics.Canvas;
import android.widget.ProgressBar;

public class TexPtrogressBar extends ProgressBar {
    @Override
    protected synchronized void onDraw(Canvas canvas) {
        super.onDraw(canvas);
    }
} 

```

The error occurred at the third line.
What is wrong? thanks