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.
レイアウト (fragment_layout.xml) を持つフラグメントがあります。このレイアウトでは、画像で説明されているように、その部分の 1 つ (空のレイアウト) を動的に変更して、他の部分のレイアウト (1 番目、2 番目、3 番目のレイアウト) を挿入したいと考えています。
フラグメントのすべてのレイアウトを変更したくはありませんが、その一部のみを変更したいと考えています。
それを行う最良の方法は何ですか?