and the other question is when I want to add tab, the code is: eg: mTabHost.addTab(mTabHost.newTabSpec("tab_test1").setIndicator ("one").setContent(R.id.mTextView);
if now I want to add two component in a tab content such as TextView and Button widget, then how can I do that? thanks!! On 8月10日, 下午4時21分, tstanly <tsai.sta...@gmail.com> wrote: > hi all, > > I have a questions for setting tab widget, > > if I set three tab initial, > then how can I remove one of three tab? > because form the reference,http://www.104.com.tw/area/army/search.cfm#go > there only have the clearalltabs() method. > > thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---