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.
私の活動 : A-->B-->C
アクティビティ B を開始するときに、Android 画面に B レイアウトではなく C レイアウトを表示したいのですが、できますか?
ありがとう
onCreate メソッドの B アクティビティで指定した場合:
this.setContentView(clayout);
B アクティビティで C レイアウトを取得します。
共有設定を使用する アクティビティ開始時に値をアタッチする その変数が含まれている場合はリロード中にチェックし、スキップしてそのアクティビティをロードする それ以外の場合はアクティビティ A で開始する