2022-10-02 23:06:56 +02:00
|
|
|
package android.widget;
|
|
|
|
|
|
|
|
import android.content.Context;
|
2023-09-19 23:22:21 +02:00
|
|
|
import android.graphics.Canvas;
|
|
|
|
import android.graphics.drawable.Drawable;
|
2023-06-22 11:45:46 +02:00
|
|
|
import android.util.AttributeSet;
|
2022-10-02 23:06:56 +02:00
|
|
|
import android.view.View;
|
|
|
|
|
|
|
|
public class ProgressBar extends View {
|
2023-07-14 18:02:04 +02:00
|
|
|
public ProgressBar(Context context, AttributeSet attrs) {
|
|
|
|
super(context, attrs);
|
2022-10-02 23:06:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public ProgressBar(Context context) {
|
|
|
|
super(context);
|
|
|
|
}
|
|
|
|
|
|
|
|
public synchronized void setIndeterminate(boolean indeterminate) {}
|
2023-09-19 23:22:21 +02:00
|
|
|
|
|
|
|
public Drawable getProgressDrawable() {
|
|
|
|
return new Drawable() {
|
|
|
|
@Override
|
|
|
|
public void draw(Canvas canvas) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
throw new UnsupportedOperationException("Unimplemented method 'draw'");
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
public Drawable getIndeterminateDrawable() {
|
|
|
|
return new Drawable() {
|
|
|
|
@Override
|
|
|
|
public void draw(Canvas canvas) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
throw new UnsupportedOperationException("Unimplemented method 'draw'");
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
2022-10-02 23:06:56 +02:00
|
|
|
}
|