There is no default constructor available in android.widget.ProgressBar
<p>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:</p>

<pre><code>import android.graphics.Canvas;
import android.widget.ProgressBar;

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

<p>The error occurred at the third line.
What is wrong? thanks</p>