I have a progress bar in my app but it is showing some text default i want to remove the text. please help me how to remove the text.
Here is my code snippet:
ProgressDialog progDialog = new ProgressDialog(ProgressBarExample.this);
progDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progDialog.setMax(200);
progDialog.setMessage("Dollars in checking account:");
progDialog.setButton("Cancel",
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// TODO Auto-generated method stub
}
});
progDialog.show();
here is a screenshot:

Thanks,
Ram.
1 Answer