@@ -0,0 +1,743 @@
+import android.content.Context;%0Aimport android.graphics.Canvas;%0Aimport android.util.AttributeSet;%0Aimport android.widget.ProgressBar;%0A%0A/**%0A * Function: VerticalProgressBar%3Cbr/%3E%0A * Date: 2015-1-18 %E4%B8%8B%E5%8D%889:00:21 %3Cbr/%3E%0A * %0A * @author YeMeng%0A */%0Apublic class VerticalProgressBar extends ProgressBar %7B%0A%0A%09public VerticalProgressBar(Context context) %7B%0A%09%09super(context);%0A%09%7D%0A%0A%09public VerticalProgressBar(Context context, AttributeSet attrs) %7B%0A%09%09super(context, attrs);%0A%09%7D%0A%0A%09public VerticalProgressBar(Context context, AttributeSet attrs, int defStyle) %7B%0A%09%09super(context, attrs, defStyle);%0A%09%7D%0A%0A%09@Override%0A%09protected synchronized void onDraw(Canvas canvas) %7B%0A%09%09// %E6%97%8B%E8%BD%AC%0A%09%09canvas.rotate(-90);%0A%09%09canvas.translate(-this.getHeight(), 0);%0A%09%09super.onDraw(canvas);%0A%09%7D%0A%7D%0A

Create VerticalProgressBar.java