Fragments are not visible
<p>I m trying to create an app with a tab and an horizontal scrolling like android.Searching the net i have found plenty of examples but nothing as mine,so i tried to create it myself.The result is that i can see the tab,i can scroll horizontally,but my fragments are not visible and i just see a white background in every tab.Any help please?this is my code:</p>

<pre><code>public class MarketAppActivity extends FragmentActivity {
    private PagerAdapter mPagerAdapter;
    static final String[] CONTENT = new String[] { "categories", "Featured","Top Paid","Top Free", "Top_Grossing", "Top_New_Paid", "Top_New_Free", "Trending","Staff_choices","Editors_Choices" };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.setContentView(R.layout.simple_tabs);

        // initialize the pagerz
        this.initialisePaging();
    }  

    /**
    * Initialize the fragments to be paged
    */
    private void initialisePaging() {

    List&lt;Fragment&gt; fragments = new Vector&lt;Fragment&gt;();
    fragments.add(Fragment.instantiate(this, frag0.class.getName()));
    fragments.add(Fragment.instantiate(this,frag1.class.getName()));
    fragments.add(Fragment.instantiate(this,frag0.class.getName()));
    fragments.add(Fragment.instantiate(this,frag1.class.getName()));
    fragments.add(Fragment.instantiate(this,frag0.class.getName()));
    fragments.add(Fragment.instantiate(this,frag1.class.getName()));
    fragments.add(Fragment.instantiate(this,frag0.class.getName()));
    fragments.add(Fragment.instantiate(this,frag1.class.getName()));
    fragments.add(Fragment.instantiate(this,frag0.class.getName()));
    fragments.add(Fragment.instantiate(this,frag1.class.getName()));



    this.mPagerAdapter = new MyPagerAdapter(super.getSupportFragmentManager(), fragments);

    ViewPager pager = (ViewPager) super.findViewById(R.id.pager);
    pager.setAdapter(this.mPagerAdapter);
    pager.setCurrentItem(1);
    TabPageIndicator indicator = (TabPageIndicator)findViewById(R.id.indicator);
    indicator.setViewPager(pager);
    indicator.setCurrentItem(1);

    }


}


 class MyPagerAdapter extends FragmentPagerAdapter implements TitleProvider {
         private static final String TAG = "FragmentPagerAdapter";
        private final List&lt;Fragment&gt; fragments;

            public MyPagerAdapter(FragmentManager fm, List&lt;Fragment&gt; fragments) {
                super(fm);
                this.fragments = fragments;
                }

            @Override
            public Fragment getItem(int position) {
            return this.fragments.get(position);
            }



         public int getCount() {
        //   return MarketAppActivity.CONTENT.length;
return this.fragments.size();
         }


         @Override
         public void destroyItem(View container, int position, Object object) {
             super.destroyItem(container, position, object);
             Log.i(TAG, "");
         }
         @Override
         public void finishUpdate(View arg0) {
                 // TODO Auto-generated method stub

         }

         @Override
         public boolean isViewFromObject(View arg0, Object arg1) {
                 return arg0 == ((View) arg1);

         }

         @Override
         public void restoreState(Parcelable arg0, ClassLoader arg1) {
                 // TODO Auto-generated method stub

         }

         @Override
         public Parcelable saveState() {
                 // TODO Auto-generated method stub
                 return null;
         }

         @Override
         public void startUpdate(View arg0) {
                 // TODO Auto-generated method stub

         }


        public String getTitle(int position) {
            return MarketAppActivity.CONTENT[position % MarketAppActivity.CONTENT.length].toUpperCase();
        }
    }
</code></pre>
