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
And this is what I get when I try to rotate it for landscape
mode:
Any help please?