title: Android - vertical orientation works, horizontal orientation blank
body: <p>I am implementing a ViewPagerIndicator that works as expected in vertical orientation. When I test in horizontal orientation, either by switching at run-time (physically turning the phone) or when the app starts in horizontal mode (phone was horizontal before the app started) I get a blank white space where the ViewPagerIndicator should be. I have a layout/main.xml and layout-land/main.xml with a few buttons that are displaying as expected (stacked vertically in vertical mode, as a grid in horizontal mode). When I press the "edit" button, I launch the edit activity:</p>
  
  <pre><code>public class ATEditActivity extends Activity {
      static final int OFFSCREEN_PAGE_LIMIT = 5;
  ViewPager pager = null;
  
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.edit);
  
          int iPage = 2;  // set the page based on caller's intentions
          Bundle bndlExtras = getIntent().getExtras();
          if (bndlExtras != null) {
          iPage = bndlExtras.getInt("PAGE");
          }
  
          ATViewPagerAdapter adapter = new ATViewPagerAdapter(this);
  
          pager = (ViewPager) findViewById(R.id.awesomepager);
          pager.setOffscreenPageLimit(OFFSCREEN_PAGE_LIMIT);
          pager.setAdapter(adapter);
  
          TitlePageIndicator indicator = (TitlePageIndicator) findViewById(R.id.TitlePageIndicator);
          indicator.setViewPager(pager);
          indicator.setCurrentItem(iPage);
      }
  }
  </code></pre>
  
  <p>edit.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;LinearLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:background="#FFFFFF"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_marginLeft="0dp"
      android:layout_marginRight="0dp"&gt;
  
  &lt;EditText
      android:id="@+id/etName"
      android:inputType="textAutoComplete"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@drawable/edit_text"
      android:layout_margin="4dp"
      android:hint="@string/name" /&gt;
  
  &lt;com.viewpagerindicator.TitlePageIndicator
      android:id="@+id/TitlePageIndicator"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      style="@style/Widget.MyTitlepageIndicator" /&gt;
  
      &lt;android.support.v4.view.ViewPager
          android:id="@+id/awesomepager"
          android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Any thoughts on why the ViewPagerIndicator would not display in horizontal mode? Is more information needed?</p>