I am showing a horizontal style, indeterminate ProgressDialog as follows:
progressDialog.setMessage("My progress dialog message");
progressDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progressDialog.setIndeterminate(true);
progressDialog.show();
The indeterminate horizontal progress graphic/animation shows okay. However, give that it's an indeterminate progress dialog, I would expect the "0%" and "0/100" labels on the bottom left and bottom right respectively to be hidden. Anyone know how to hide these?
It is possible to hide those by calling two ProgressDialog's methods
progressDialog.setProgressNumberFormat(null);
progressDialog.setProgressPercentFormat(null);
See ProgressDialog documentation for reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With