title: What is the easiest way to draw a horizontal bar in Android?
body: <p>Without using any outside APIs, how do I draw a simple green horizontal bar to depict a percentage? (Full being 100%)</p>
  
  <p>One way I thought of was using a SeekBar but I'm not sure how to customize the height, colors, etc of it.</p>
  
  <p>Is there a formula I could use to draw a rectangle on a canvas or something that would use the desired scale that I need? </p>
  
  <p>For example, if I have a refrigerator that can fit 38 items, a full bar would render when there was 38 items present.</p>