开发者

Starting Activity for result clicking on tab widget

开发者 https://www.devze.com 2023-02-26 00:34 出处:网络
My problem is that I don\'t know how to use TabActivity and TabHost functionality to allow me to launch new Activity, which will hold all of the screen (I want to hide TabWidgets under it).

My problem is that I don't know how to use TabActivity and TabHost functionality to allow me to launch new Activity, which will hold all of the screen (I want to hide TabWidgets under it).

When I create TabActivity, I make a count of tabWidgets using TabSpec class and set for every widget it's content (intent, launching another Activity in this case).

So what should I do if I wan开发者_如何学Got to implement one of the widgets to launch Activity for result?


Hey teo not really sure of what you want, but if you want a quick way to create a TabActivity you can check this:

http://developer.android.com/resources/tutorials/views/hello-tabwidget.html

0

精彩评论

暂无评论...
验证码 换一张
取 消