【发布时间】:2014-01-03 05:38:42
【问题描述】:
我的代码
View view = getLocalActivityManager().startActivity("main_jobs",
new Intent(context,Job_Description.class)
.putExtra("line", str_line).putExtra("limit",str_limit)
.putExtra("limit",""+0)
.putExtra("Alert", false)
.putExtra("str_location", str_loc)
.putExtra("str_Descrption",str_descjob)
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP))
.getDecorView();
setContentView(view);
我正在使用此代码打开带有标签的新活动,但标签栏未显示并且 没有任何错误 请帮助我如何显示标签栏以打开新活动
提前致谢
【问题讨论】:
-
你正在使用 tabhost ryt 吗?
-
是的,我正在使用 Tabhost
-
你有多少个标签页?
-
我只有四个标签,我正在从登录类调用 Jobsearch 类,这两个类都不在标签中,但我想显示标签栏。
-
在此处发布代码或将其放入 googledrive 并提供链接。没有代码什么都做不了。
标签: android android-fragments android-tabhost android-tabs