Code example for ActionBar

Methods: addTab, getTabCount, newTab

0
		} else { 
			Log.d("childcount:","" + mFlipper.getChildCount());
			White_Fragment white_board = add_White_Fragment();
			Log.d("childcount:","" + mFlipper.getChildCount());
			Tab tab = bar
					.newTab()
					.setText(title)
					.setTabListener(
							new White_TabListener(mFlipper, this, white_board,
									add_tabLis));
			bar.addTab(tab, bar.getTabCount() - 1);
			tab.select();
		} 
	} 
 
	// �[�����^�u���b�g���ǂ��� 
	// �Q�l:http://andbrowser.com/development/knowhow/192/1apk-tablet-phone-development-2/ 
	public static boolean isHoneycomb() { 
		return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
	}