Changing title of tabbar in android
I googled this but couldn't find any solution please help. I have created
a tabbar view having 3 tabs with Tabhost and set its title with TabSpec
like this :
TabSpec tbhome = tabHost.newTabSpec("Home");
tbhome.setIndicator("Selected Topic");
I have 2 buttons in my another tab which is next to above tab. Now what I
want is, if I click a button in this tab the title for this button must be
set to the title of my home tab. That is in above code "Selected Topic "
must be set to my button's title.
Thanks.
No comments:
Post a Comment