RSS구독하기:SUBSCRIBE TO RSS FEED
즐겨찾기추가:ADD FAVORITE
글쓰기:POST
관리자:ADMINISTRATOR

	
	
						
		
	

public class TabTest extends TabActivity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.tab_test);

		TabHost mTab = getTabHost();
		Intent intent;

		intent = new Intent().setClass(this, Tab01.class);
		mTab.addTab(mTab.newTabSpec("tag1").setIndicator("TAB1").setContent(intent));

		intent = new Intent().setClass(this, Tab02.class);
		mTab.addTab(mTab.newTabSpec("tag2").setIndicator("TAB2").setContent(intent));

		intent = new Intent().setClass(this, Tab03.class);
		mTab.addTab(mTab.newTabSpec("tag3").setIndicator("TAB3").setContent(intent));

		mTab.setCurrentTab(0);
	}
}
2012/03/24 15:00 2012/03/24 15:00
http://yell.co.kr/trackback/284
YELL:If I can only get back to that moment...
If I can only get back to that moment...
전체 (203)
발자국 (104)
다이어리 (9)
이것저것 (41)
WORK (35)
포트폴리오 (7)
PSP (6)
닌텐도 Wii (1)
«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
  1. 2012/03 (3)
  2. 2012/01 (1)
  3. 2011/08 (2)
  4. 2011/07 (2)
  5. 2011/06 (7)