title: Class requires API level 11 (current min is 7): android.app.ActionBar.TabListener
body: <p>my app has a actionbar and fragments. i use tablistener for tabs to action bar:</p>
  
  <pre><code>package com.infomercados.appinfomercados;
  
  import android.app.ActionBar;
  import android.app.Fragment;
  import android.app.FragmentTransaction;
  import android.app.ActionBar.Tab;
  import android.util.Log;
  
  public class TabListener implements ActionBar.TabListener {
  
      private Fragment fragment;
  
      public TabListener(Fragment fg)
      {
          this.fragment = fg;
      }
  
      @Override
      public void onTabReselected(Tab tab, FragmentTransaction ft) {
          Log.i("ActionBar", tab.getText() + " reselected.");
      }
  
      @Override
      public void onTabSelected(Tab tab, FragmentTransaction ft) {
          Log.i("ActionBar", tab.getText() + " selected.");
          ft.replace(R.id.container, fragment);
      }
  
      @Override
      public void onTabUnselected(Tab tab, FragmentTransaction ft) {
          Log.i("ActionBar", tab.getText() + " no selected.");
          ft.remove(fragment);
      }
  }
  </code></pre>
  
  <p>i want to adapt for early versions and i added the android-support-v6-appcompat.jar but produces this error:
  Class requires API level 11 (current min is 7): android.app.ActionBar.TabListener</p>
  
  <p>Can you help me?</p>
  
  <p>Very Thanks.</p>