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.
私の活動では、レイアウトを変更する必要があり、オプションメニューも変更する必要があります。
So how can i know what is the current layout?
アクティビティ/フラグメント/「レイアウトを変更する」たびに更新するものにデータメンバーを使用して、自分で追跡します。
これを試してみてください:
レイアウトにIDを与える
findViewById メソッドで見つけます
その後、ビューを追加できます
.