title: ProgressBar not loading
body: <p>I'm making a small game for school and I want to use a ProgressBar as an XP(Experience) bar.</p>
  
  <pre><code>private static final int PROGRESS = 0x1;
  private ProgressBar mProgress;
  private Handler mHandler = new Handler();
  private int mProgressStatus;
  
  mProgress = (ProgressBar) findViewById(R.id.xpBar);
  
  new Thread(new Runnable() {
          public void run() {
              int xp = Integer.parseInt(textViewXPValue.getText().toString());
              int XPNEXT = Integer.parseInt(textViewXpNextLevel.getText().toString());
              while (mProgressStatus &lt; XPNEXT) {
                  mProgressStatus = xp;
  
                  mHandler.postDelayed(new Runnable() {
                      public void run() {
                          mProgress.setProgress(mProgressStatus);
                      }
                  }, 10);   
              }
          }
      }).start();
  </code></pre>
  
  <p>The variable:</p>
  
  <pre><code>Integer.parseInt(textViewXpNextLevel.getText().toString());
  </code></pre>
  
  <p>is equal to the maximum xp needed to level up. And</p>
  
  <pre><code>Integer.parseInt(textViewXPValue.getText().toString());
  </code></pre>
  
  <p>is equal to the current xp the player has.</p>
  
  <p>The progress bar shows up and no error occurs. It just wont display the progress.</p>
  
  <p>Any ideas?</p>