Hi, I am trying to use actionbar to generate tabs at bottom of the page. It 
works fine to show the tabs at the top. but how to put it at bottom?
I tried "  android:uiOptions="splitActionBarWhenNarrow"" at Manifest file.
Also in the main Acitivity, I have 

" getWindow().setUiOptions(ActivityInfo.UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW);"

as the first line in onCreate function.
Here are some of the codes that works for top tabs:

~~~~~~~~~~~~~~~~
  //ActionBar
             ActionBar actionbar = getActionBar();
             actionbar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
             actionbar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM,
                    ActionBar.DISPLAY_SHOW_CUSTOM);

             
             ActionBar.Tab StationsTab4 = 
actionbar.newTab().setText("tab1");
             ActionBar.Tab StationsTab1 = 
actionbar.newTab().setText("tab2");
             ActionBar.Tab StationsTab2 = 
actionbar.newTab().setText("tab3");
             ActionBar.Tab StationsTab3 = 
actionbar.newTab().setText("tab4");
             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please help on this topic. I have been tried many different ways, but none 
of them is working...
Thanks a head!




-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to