Después de jugar con algún código, esto es lo que obtuve y parece funcionar bastante bien. Con suerte, ayudará a alguien más en el futuro.
public class ReversedSeekBar extends SeekBar {
public ReversedSeekBar(Context context) {
super(context);
}
public ReversedSeekBar(Context context, AttributeSet attrs) {
super(context, attrs);
}
public ReversedSeekBar(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
}
@Override
protected void onDraw(Canvas canvas) {
float px = this.getWidth()/2.0f;
float py = this.getHeight()/2.0f;
canvas.scale(-1, 1, px, py);
super.onDraw(canvas);
}
@Override
public boolean onTouchEvent(MotionEvent event) {
event.setLocation(this.getWidth() - event.getX(), event.getY());
return super.onTouchEvent(event);
}
}
Este fue lanzado junto con la ayuda de estas dos preguntas:
- How can you display upside down text with a textview in Android?
- How can I get a working vertical SeekBar in Android?
¡Gracias! Soy nuevo en Android, todavía estoy familiarizado con él. – mhenry