@@ -0,0 +1,1781 @@
+package at.wada811.widget;%0A%0Aimport android.content.Context;%0Aimport android.graphics.Canvas;%0Aimport android.util.AttributeSet;%0Aimport android.view.MotionEvent;%0Aimport android.widget.SeekBar;%0A%0Apublic class VerticalSeekBar extends SeekBar %7B%0A    public VerticalSeekBar(Context context) %7B%0A        super(context);%0A    %7D%0A%0A    public VerticalSeekBar(Context context, AttributeSet attrs, int defStyle) %7B%0A        super(context, attrs, defStyle);%0A    %7D%0A%0A    public VerticalSeekBar(Context context, AttributeSet attrs) %7B%0A        super(context, attrs);%0A    %7D%0A%0A    public void onSizeChanged(int w, int h, int oldw, int oldh)%7B%0A        super.onSizeChanged(h, w, oldh, oldw);%0A    %7D%0A%0A    @Override%0A    protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec)%7B%0A        super.onMeasure(heightMeasureSpec, widthMeasureSpec);%0A        setMeasuredDimension(getMeasuredHeight(), getMeasuredWidth());%0A    %7D%0A%0A    protected void onDraw(Canvas c)%7B%0A        //%E9%80%86%E6%96%B9%E5%90%91%E3%81%AB%E4%BC%B8%E3%81%B0%E3%81%99%E5%A0%B4%E5%90%88%E3%81%AF%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88%E3%82%A2%E3%82%A6%E3%83%88%E3%82%92%E5%A4%96%E3%81%99%0A        //c.rotate(90);%0A        //c.translate(0, - getWidth());%0A        c.rotate(-90);%0A        c.translate(-getHeight(), 0);%0A        super.onDraw(c);%0A    %7D%0A%0A    @Override%0A    public boolean onTouchEvent(MotionEvent event)%7B%0A        if(!isEnabled())%7B%0A            return false;%0A        %7D%0A%0A        switch(event.getAction())%7B%0A            case MotionEvent.ACTION_DOWN:%0A            case MotionEvent.ACTION_MOVE:%0A            case MotionEvent.ACTION_UP:%0A                //setProgress((int) (getMax() * event.getY() / getHeight()) - 0);%0A                setProgress(getMax() - (int)(getMax() * event.getY() / getHeight()));%0A                onSizeChanged(getWidth(), getHeight(), 0, 0);%0A                break;%0A%0A            case MotionEvent.ACTION_CANCEL:%0A                break;%0A        %7D%0A        return true;%0A    %7D%0A%7D%0A

add VerticalSeekBar