progressbar is not displaying in title bar
<p>I am using the following code, but my progress bar is not displaying in title bar instead displaying in my activiy top right corner</p>

<pre><code>    &lt;ProgressBar 
android:id="@+id/progress_bar" style="?android:attr/progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"

android:layout_marginRight="5dp" /&gt;
</code></pre>

<p>in code</p>

<pre><code>//requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.welcome_layout);
</code></pre>

<p>Can any one plz help me out in this ..</p>
