Material-ProgressView icon indicating copy to clipboard operation
Material-ProgressView copied to clipboard

Remove Text Space When Hidden

Open rayliverified opened this issue 5 years ago ā€¢ 7 comments

maxthonsnap20180924123416

When the progress text is hidden, the space reserved for the progress text is still there. When the text is hidden, the space should not be there.

This is a great library and I love that it is maintained, thanks!

rayliverified avatar Sep 24 '18 17:09 rayliverified

@searchy2 Okļ¼ŒI have understood what you said, I will solved this problem soon. And thanks for your feedbackšŸ˜.

Moosphan avatar Sep 26 '18 03:09 Moosphan

Thank you so much for this library! Is it also possible to set the progress without animating?

rayliverified avatar Sep 26 '18 05:09 rayliverified

@Sonphil yeah, you can use it like that:

......

      //downloading or uploading call back
      @Override
      public void onDownloading(float progress) {
          // you don't need to use `startProgressAnimation` method
          horizontalProgressView.setProgress(progress);
      }

......

Moosphan avatar Sep 26 '18 06:09 Moosphan

Thanks, that's fantastic :)

rayliverified avatar Sep 26 '18 13:09 rayliverified

Any updates on removing the space?

rayliverified avatar Nov 04 '18 00:11 rayliverified

Any updates?

rayliverified avatar Dec 07 '18 15:12 rayliverified

Would you be interested in a PR to solve this issue?

rayliverified avatar Jan 16 '20 22:01 rayliverified