title: Display progressdialog without text Android
body: <p>Android 2.3.3</p>
  
  <p>I have a progressdialog that shows, Loading.. as text. Here is the code for the progressdialog .</p>
  
  <pre><code>progressDialog = new ProgressDialog(mContext);      
              progressDialog.setIndeterminate(true);
              progressDialog.setMessage("Loading...");
              progressDialog.show();
  </code></pre>
  
  <p>If I remove the line <code>progressDialog.setMessage("Loading...");</code>, I get a progressdialog of the left and an empty box on the right that occupies the width of the parent. </p>
  
  <p>I want to display only the progressdialog , aligned at the center. Please refer to the images below..</p>
  
  <p>This is what i have...</p>
  
  <p><img src="https://i.stack.imgur.com/fwUlD.png" alt="enter image description here"></p>
  
  <p>This is what i want...</p>
  
  <p><img src="https://i.stack.imgur.com/Owau1.png" alt="enter image description here"></p>
  
  <p>Can someone help me with this?</p>