title: Why is my progress bar not centered vertically?
body: <p>I have the following layout...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:orientation="vertical"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:background="@drawable/bg_generic_portrait"&gt;
    &lt;ListView android:id="@android:id/list"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:background="@drawable/issue_list_item_background_normal"
              android:listSelector="@drawable/issue_background_selector"
              android:divider="@drawable/separator"
      &gt;
    &lt;/ListView&gt;
    &lt;ProgressBar
      android:layout_width="wrap_content"
      android:layout_height="fill_parent"
      android:layout_gravity="center"
      android:id="@+id/preloader"
      style="@android:style/Widget.ProgressBar.Large"/&gt;
  
    &lt;TextView android:id="@android:id/empty"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:background="#FF0000"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And it looks like this...http://i.stack.imgur.com/Ra5c6.png</p>
  
  <p><strong>I want the preloader to be centered vertically too, what is wrong?</strong></p>