title: android.support.v4.app.ListFragment just doesn't show
body: <p>I extends the ListFragment in support lib, using a subclass of SimpleCursorAdapter as the adapter. All the data loading part is ok (read via debug), the list just doesn't show, I have a blank page on the Activity. Here is my code: </p>
  
  <pre><code>import android.support.v4.app.FragmentActivity;
  
  public class HostActivity extends FragmentActivity {
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_view_with_fragment);
  }
  }
  </code></pre>
  
  <p>layout file (activity_view_with_fragment.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:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:orientation="vertical" &gt;
      &lt;fragment
              android:id="@+id/lsStopTimetableFragment"
              android:layout_width="0dp"
              android:layout_height="0dp"
              android:layout_marginTop="?android:attr/actionBarSize"
              android:layout_weight="1"
              class="com.package.Fragment.MyFragment"&gt;
      &lt;/fragment&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>This is the ListFragment code:</p>
  
  <pre><code>import android.support.v4.app.ListFragment;
  import android.support.v4.app.LoaderManager;
  import android.support.v4.content.CursorLoader;
  public class MyFragment extends ListFragment implements LoaderManager.LoaderCallbacks&lt;Cursor&gt;{
      public  void onActivityCreated(Bundle savedInstanceState){
          super.onActivityCreated(savedInstanceState);
          String [] from = new String[] {"col_1", "col_2"}; 
          int [] to = new int [] {R.id.view1, R.id.view2}; 
          //..put value in args
          Loader l = getLoaderManager().restartLoader(0, args, this);
          if(l != null)
              l.forceLoad();
  
          adapter = new CustomCursorAdapter(this.getActivity()
                , R.layout.row_entry, null, from,
                  to, 0);
          setListAdapter(adapter);
      }
      @Override
      public void onLoadFinished(Loader&lt;Cursor&gt; cursorLoader, Cursor cursor) {
          adapter.swapCursor(cursor);
      }
      public void onLoaderReset(Loader&lt;Cursor&gt; cursorLoader) {
          adapter.swapCursor(null);
      }
  
  }
  </code></pre>
  
  <p>And in CustomCursorAdapter, I do implement the </p>
  
  <blockquote>
    <p>getView (int pos, View convertView, ViewGroup parent)</p>
  </blockquote>
  
  <p>method. Any tip? thanks in advance.</p>