title: Placing the ActionBar.Tabs on the bottom of the screen
body: <p>I recently implemented a simple project which uses ActionBar.Tabs. the main activity have this implementation:</p>
  
  <pre><code>public class MainActivity extends Activity {
  
      ActionBar.Tab Tab1, Tab2, Tab3;
  
      Fragment fragmentTab1 = new Tab1Fragment();
      Fragment fragmentTab2 = new Tab2Fragment();
      Fragment fragmentTab3 = new Tab3Fragment();
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          ActionBar actionBar = getActionBar();
  
          // Create Actionbar Tabs
          actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
  
          // Set Tab Icon and Titles
          Tab1 = actionBar.newTab().setText("Tab1");
          Tab2 = actionBar.newTab().setText("Tab2");
          Tab3 = actionBar.newTab().setText("Tab3");
  
          // Set Tab Listeners
          Tab1.setTabListener(new TabListener(fragmentTab1));
          Tab2.setTabListener(new TabListener(fragmentTab2));
          Tab3.setTabListener(new TabListener(fragmentTab3));
  
          // Add tabs to actionbar
          actionBar.addTab(Tab1);
          actionBar.addTab(Tab2);
          actionBar.addTab(Tab3);
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          MenuInflater inflater = getMenuInflater();
          inflater.inflate(R.menu.main, menu);
          return super.onCreateOptionsMenu(menu);
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          // Handle presses on the action bar items
          switch (item.getItemId()) {
              case R.id.action_search:
                  openSearch();
                  return true;
              case R.id.action_settings:
                  openSettings();
                  return true;
              default:
                  return super.onOptionsItemSelected(item);
          }
      }
  
      public void openSearch() {
        //
      }
  
      public void openSettings() {
        //
      }
  
  }
  </code></pre>
  
  <p>and the layout associated to this activity is that:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/fragment_container"
      android:layout_width="match_parent"
      android:layout_height="match_parent" /&gt;
  </code></pre>
  
  <p>when I run the project on my phone, the tabs are placed on the top of the screen, below the actiobBar itself. I want place this tabs on the bottom of screen. Anyone can tell me a way to do this?</p>
  
  <p>ps.: I actually try that using a layout which use TabHost, TabWidget and Fragments, but I am  getting the error described here: <a href="https://stackoverflow.com/questions/26919638/android-device-cant-instantiate-launcher-activity">Android device can&#39;t instantiate launcher activity</a></p>