In onActionDown() of RangeBar, add these code before if (!mRightThumb.isPressed() && mLeftThumb.isInTargetZone(x, y)), maybe (!mLeftThumb.isPressed() || !mRightThumb.isPressed()) is unnecessary ? I haven't to concern that, if you check it, please tell me.
In
onActionDown()
of RangeBar, add these code beforeif (!mRightThumb.isPressed() && mLeftThumb.isInTargetZone(x, y))
, maybe(!mLeftThumb.isPressed() || !mRightThumb.isPressed())
is unnecessary ? I haven't to concern that, if you check it, please tell me.And make the code like this: