Lines Matching refs:ActionBar
173 <p>To create tabs using {@link android.app.ActionBar}, you need to enable
174 {@link android.app.ActionBar#NAVIGATION_MODE_TABS}, then create several instances of
175 {@link android.app.ActionBar.Tab} and supply an implementation of
176 the {@link android.app.ActionBar.TabListener} interface for each one.
183 final ActionBar actionBar = getActionBar();
187 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
190 ActionBar.TabListener tabListener = new ActionBar.TabListener() {
191 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) {
195 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft) {
199 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) {
214 <p>How you handle the {@link android.app.ActionBar.TabListener} callbacks to change tabs
224 a tab, implement your {@link android.app.ActionBar.TabListener} to select the appropriate page
234 ActionBar.TabListener tabListener = new ActionBar.TabListener() {
235 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) {