Can you have a Java file for each tab

nmt93

New Member
Right now I have each of my three tabs in the same java but I need one to be in a different java file so the code I am using right now for the tabs is... how can I set this up with a java file?\[code\]th.setup(); TabSpec specs = th.newTabSpec("tag1"); specs.setContent(R.id.tab1); specs.setIndicator("Zone Manager"); th.addTab(specs); specs = th.newTabSpec("tag2"); specs.setContent(R.id.tab2); specs.setIndicator("",res.getDrawable(R.drawable.ic_tab_vaccontrol)); th.addTab(specs); specs = th.newTabSpec("tag3"); specs.setContent(R.id.tab3); specs.setIndicator("Tab 3"); th.addTab(specs);\[/code\]
 
Back
Top