How do I remove the encircled on the picture?
Thanks a lot for any hel
I needed a similar functionality -> to hide the percenatge and min/max when the progressDialog is in indeterminate state.
private void setIndeterminate(boolean isIndeterminate) {
progressDialog.setIndeterminate(isIndeterminate);
if (isIndeterminate) {
progressDialog.setProgressNumberFormat(null);
progressDialog.setProgressPercentFormat(null);
} else {
progressDialog.setProgressNumberFormat("%1d/%2d");
NumberFormat percentInstance = NumberFormat.getPercentInstance();
percentInstance.setMaximumFractionDigits(0);
progressDialog.setProgressPercentFormat(percentInstance);
}
}