我真的想从标签视图中的活动转移到同一标签内的另一个活动。
public void onClick (View view) {
// This creates an intent to call the 'Called' activity
i1 = new Intent(this.getBaseContext(),Called.class);
// calls the method to replace View.
replaceContentView("Called", i1);
}
答案 0 :(得分:0)
试试这个......
TabSpec spec=...//our tabSpec
Intent intent = new Intent(this.getBaseContext(), Called.class);
spec.setContent(videosIntent);