how to create 'Horizontal style' progress bar programmatically in Android?
<p>I am creating a ProgressBar in my app programmatically it is of SPIN style by default however I want it in HORIZONTAL style. I don't see any method/constant to achieve this.</p>

<p>And I don't want to use ProgressDialog as it'd be inconsistent with my App UI theme.</p>

<p>Any suggestions please?</p>
