Hi again,

nobody has an idea? :(

Regards

On Jan 3, 4:02 pm, VBMichi <[email protected]> wrote:
> Hi,
>
> I've three Tabs:
>
> mTabHost = getTabHost();
> mTabHost.addTab(mTabHost.newTabSpec("tab_1").setIndicator
> ("Name1").setContent(R.id.tab1));
> mTabHost.addTab(mTabHost.newTabSpec("tab_2").setIndicator
> ("Name2").setContent(R.id.tab2));
> mTabHost.addTab(mTabHost.newTabSpec("tab_3").setIndicator
> ("Name3").setContent(R.id.tab3));
> mTabHost.setCurrentTab(0);
>
> If the user click on tab_3, i want to call the function test(); .
>
> How can i set an onclicklistener on tab_3 or solve the problem on
> another way?
>
> Thanks and Regards,
> Michael

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

Reply via email to