title: How to create a ProgressBar programmatically?
body: <p>My application needs to create a small <code>ProgressBar</code> programmatically.
  <code>ProgressBar</code> doesn't have a method to set the style (I want a small
  <code>ProgressBar</code>). The constructor can take an <code>AttributeSet</code>, however, it is an
  interface and requires me to implement a set of functions. Is there a way
  to set the <code>ProgressBar</code> to a small style? (I can't use XML to create
  <code>ProgressBar</code>.)</p>