This is one approach to create a square progress indicator with Titanium views. In it, we draw a background view with a border, and use 5 view sections to indicate progress.
I'm including a <Slider>
to test progress on the device.
XML
<View id="container">
<View class="off-border"></View>
<View id="view1" class="part"></View>
<View id="view2" class="part"></View>