Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
さまざまなUI要素がすべて含まれているタブがいくつかあり、タブが常に存在するタブホストを使用してアプリケーションをナビゲートするにはどうすればよいですか。私が始めるすべての活動などで?
これを使用して、新しいアクティビティを開始します
View view = getLocalActivityManager().startActivity("tab1", new Intent(this,tab1.class) .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)) .getDecorView(); setContentView(view);