Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77c81df2 authored by smain@google.com's avatar smain@google.com Committed by Scott Main
Browse files

fix confusing sentence

https://memegen.googleplex.com/5524829602054144

Change-Id: I451c167bd1aedbde4b0e676f5f74a9dacb20fc10
parent c338784b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -66,9 +66,9 @@ and perform other fragment transactions.</p>
initial fragment(s) to the activity during the activity's
{@link android.app.Activity#onCreate onCreate()} method.</p>

<p>An important rule when dealing with fragments&mdash;especially those that you add at
runtime&mdash;is that the fragment must have a container {@link android.view.View} in the layout in
which the fragment's layout will reside.</p>
<p>An important rule when dealing with fragments&mdash;especially when adding fragments at
runtime&mdash;is that your activity layout must include a container {@link android.view.View}
in which you can insert the fragment.</p>

<p>The following layout is an alternative to the layout shown in the <a
href="creating.html">previous lesson</a> that shows only one fragment at a time. In order to replace