title: ViewPagerIndicator's TitlePageIndicator stopping fragments from showing and causing swiping to not work
body: <p>I'm seeing a very strange error when trying to use ViewPagerIndicator (http://viewpagerindicator.com/). I've narrowed it down to the TitlePageIndicator that is part of that library.
  When I use the TitlePageIndicator, I am unable to swipe between tabs, and my fragments don't show up (although they are created and ran, the button in the upper right is created by the fragment that should be showing). It looks like this: <a href="http://imgur.com/RJaI9" rel="nofollow">http://imgur.com/RJaI9</a> (Sorry, new user so I can't inline pictures)</p>
  
  <p>But without, my fragments appear correctly and I'm able to swipe between them. <a href="http://imgur.com/bboSd" rel="nofollow">http://imgur.com/bboSd</a></p>
  
  <p>I have no idea why this is happening. I'm using the latest ViewPagerIndicator library, but I'm thinking maybe it has something to do with how I imported it? I followed the instructions on the website:
  created the new android project in eclipse from existing source, imported the compatibility library, then added it to my project in the android project properties.</p>
  
  <p>Any help would be greatly appreciated, I've been stuck on this for 2 weeks :(</p>
  
  <p>Code:</p>
  
  <p>Layout:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" &gt;
  &lt;com.viewpagerindicator.TitlePageIndicator
      android:id="@+id/titles"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content" /&gt;
  &lt;android.support.v4.view.ViewPager
      android:id="@+id/grocery_pager"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_weight="1"
       /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>FragmentActivity (From ActionBarSherlock):</p>
  
  <pre><code>public class GroceryActivity extends BaseFragmentActivity
  {
     @Override
     protected void onCreate(Bundle savedInstanceState)
     {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_grocerylist);
    // Set the pager with an adapter
    ViewPager pager = (ViewPager) findViewById(R.id.grocery_pager);
    pager.setAdapter(new GroceryViewPagerAdapter(getSupportFragmentManager()));
  
    // Bind the title indicator to the adapter
  //When these next two lines are commented out, everything works
    TitlePageIndicator titleIndicator = (TitlePageIndicator) findViewById(R.id.titles);
    titleIndicator.setViewPager(pager);
    }
  }
  </code></pre>