title: How to set maximum value of progressbar in Android
body: <p>I want to set the maximum value of a <code>ProgressBar</code> in Android.</p>
  
  <p>I know I can set the current progress with <code>setProgress</code> or <code>android:progress</code>, but how do I set the maximum value?</p>