private void moveTo(float percent) {
   setTranslationY(-getMeasuredHeight() * (1 - percent));
   if (!isHolding()) {
     progress.setProgress(percent);
   }
 }
 @Override
 public void setBackgroundColor(int color) {
   progress.setBackgroundColor(color);
 }
 @Override
 public void onHold() {
   super.onHold();
   progress.spin();
 }
 @Override
 public void setVisibility(int visibility) {
   super.setVisibility(visibility);
   progress.setVisibility(visibility);
 }