File tree Expand file tree Collapse file tree
docs/html/training/basics/fragments Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ and perform other fragment transactions.</p>
6666initial fragment(s) to the activity during the activity's
6767{@link android.app.Activity#onCreate onCreate()} method.</p>
6868
69- <p>An important rule when dealing with fragments—especially those that you add at
70- runtime—is that the fragment must have a container {@link android.view.View} in the layout in
71- which the fragment's layout will reside .</p>
69+ <p>An important rule when dealing with fragments—especially when adding fragments at
70+ runtime—is that your activity layout must include a container {@link android.view.View}
71+ in which you can insert the fragment .</p>
7272
7373<p>The following layout is an alternative to the layout shown in the <a
7474href="creating.html">previous lesson</a> that shows only one fragment at a time. In order to replace
You can’t perform that action at this time.
0 commit comments