Hi,

I am working on an android application project where I am using the tabs.
I would like to connect both the  XML and activity class to the tab how can 
I do this ?

Currently I am using this code
 intent = new Intent().setClass(this, Info.class);
        spec = tabHost.newTabSpec("Info").setIndicator("Info",
                          res.getDrawable(R.drawable.ic_tab_settings))
                      .setContent(R.id.info);
        tabHost.addTab(spec);

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

Reply via email to