1

I am using StartPointSeekBar from https://github.com/vashisthg/StartPointSeekBar and it is working great.

But now I need it to go vertical. I have tried several things such as:

    protected void onDraw(Canvas c) {
    c.rotate(-90);
    c.translate(-getHeight(),0);

    super.onDraw(c);
    }

and in XML:

android:rotation="270" 

But nothing works.

This is horizontal StartPointSeekBar that I use in portrait mode enter image description here

And this is what I get when I try to rotate it for landscape mode: enter image description here

Any help please?

Anoop M Maddasseri
  • 10,213
  • 3
  • 52
  • 73
filipst
  • 1,547
  • 1
  • 30
  • 55

0 Answers0