I have attached a sample project at the link below which shows the tabview with the problem that I am talking about. Please check it out and let me know if you know where I am going wrong or what I need to do. http://www.anddev.org/how_can_we_change_the_view_of_the_tabs-t9527.html
Thank you. On Dec 10, 5:22 pm, Achanta <krishna.acha...@gmail.com> wrote: > I want to provide a clickthrough on the list in a tab which opens > another view. > I need to open the new view within the same tab. I then need to > provide a back button on the changed layout to change the view to > original view. > > I have tried this. > I am trying to access the tabSpec from main activity class > [MainTabView] and set the intent as follows. > Java: > MainTabView.tabSpec1.setContent(new Intent(this, AView.class)); > MainTabView.mTabHost.setCurrentTab(0); > MainTabView.mTabHost.invalidate(); > > But this does not change the view immediately but changes it when I go > to another tab and come to the starting tab. How can I make it to > refresh it as soon as the content has been changed to another intent? > > Please share your ideas on this. Alternative solutions/ideas are also > welcome. > > Thank you -- 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