[android-developers] Re: working with tabs (tabhost)

2011-10-13 Thread Kristoffer
Hello. Thanks for a good answer. Have a nice day. On 12 Okt, 05:21, Subin Sebastian subinsebast...@gmail.com wrote: Hi Kristoffer, Hope you were following the tutorial I've posted in the last response. I've figured out a way to do your requirement. The idea is to clear all the tabs which is

Re: [android-developers] Re: working with tabs (tabhost)

2011-10-11 Thread Subin Sebastian
Hi Kristoffer, Hope you were following the tutorial I've posted in the last response. I've figured out a way to do your requirement. The idea is to clear all the tabs which is loaded before in onClick of the button inside one of the view. You can move that code into yout on_preference_change (or

[android-developers] Re: working with tabs (tabhost)

2011-10-09 Thread Kristoffer
Hello. Thanks for the reply, but iam not sure how i should implement that in my code, here is my code that build the tabs. TabHost tabHost = getTabHost(); TabHost.TabSpec spec; Intent intent; intent = new Intent().setClass(this, Main.class); spec = tabHost.newTabSpec(main).setIndicator(Main)