title: The type ActionBar.Tab is deprecated
body: <p>I'm trying to create a swipe tabs in eclipse. But when i import 
  <strong>android.app.ActionBar.Tab;</strong> it warns me as import <strong>"The type ActionBar.Tab is deprecated".</strong>  </p>
  
  <p>And it makes most of my code as warnings and it strike-through it.</p>
  
  <pre><code>import android.support.v4.app.FragmentActivity;
  import android.app.ActionBar;
  import android.app.ActionBar.Tab;
  import android.app.ActionBar.TabListener;
  import android.app.FragmentTransaction;
  import android.os.Bundle;
  import android.support.v4.app.FragmentTabHost;
  import android.util.Log;
  
  
  public class MainActivity extends FragmentActivity implements TabListener {
      ActionBar actionBar;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          actionBar = getActionBar();
          actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
  
          ActionBar.Tab shops = actionBar.newTab();
          shops.setText("SHOPS");
          shops.setTabListener(this);
  
          ActionBar.Tab floorplan = actionBar.newTab();
          floorplan.setText("FLOOR PLAN");
          floorplan.setTabListener(this);
  
          ActionBar.Tab browser = actionBar.newTab();
          browser.setText("BROWSER");
          browser.setTabListener(this);
  
          ActionBar.Tab nav = actionBar.newTab();
          nav.setText("NAVIGATION");
          nav.setTabListener(this);
  
          actionBar.addTab(shops);
          actionBar.addTab(floorplan);
          actionBar.addTab(browser);
          actionBar.addTab(nav);
      }
  </code></pre>
  
  <p>What can i do it now?? Is there is any possible solution to overcome those warnings???</p>