android开发官网说:“你可以用两种方式来实现你的标签内容:使用标签在同一个活动中交换视图,.....”
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
我只想使用标签来交换视图,不超过一个活动。
有人能教我怎么做吗??有没有示例代码??thx ~
发布于 2010-09-14 10:36:24
关于这一点,我前段时间做了一次similar question。看看你的回复。其中一个包含了一个相当详细的tutorial。
发布于 2010-09-14 10:51:21
我找到了这个,http://www.netmite.com/android/mydroid/1.6/out/target/common/docs/offline-sdk/guide/tutorials/views/hello-tabwidget.html
这是一个官方示例代码,使用一个带有3个选项卡的活动~
https://stackoverflow.com/questions/3705646
复制相似问题