How to change a default Horizontal ProgressBar to vertical?
<p>So far i have a working horizontal progress bar.</p>

<p>This is my xml file</p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" &gt;

&lt;ProgressBar
    android:id="@+id/progressBar1"
    style="?android:attr/progressBarStyleHorizontal"
    android:layout_width="200dp"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true"
    android:layout_marginTop="168dp" /&gt;
</code></pre>

<p></p>

<p>I'm going to use it as a visual indicator of a liquid tank.(Progress as level)  </p>

<p>I want to know how to set it vertcal. If it is not possible can some one suggest some other option to my problem.</p>
