From 77c81df2a2402659db86d1d8eb0ebd6edefd339a Mon Sep 17 00:00:00 2001 From: "smain@google.com" Date: Wed, 1 Oct 2014 18:25:13 -0700 Subject: fix confusing sentence https://memegen.googleplex.com/5524829602054144 Change-Id: I451c167bd1aedbde4b0e676f5f74a9dacb20fc10 --- docs/html/training/basics/fragments/fragment-ui.jd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/html/training/basics/fragments') diff --git a/docs/html/training/basics/fragments/fragment-ui.jd b/docs/html/training/basics/fragments/fragment-ui.jd index 14469bf..4fa5b70 100644 --- a/docs/html/training/basics/fragments/fragment-ui.jd +++ b/docs/html/training/basics/fragments/fragment-ui.jd @@ -66,9 +66,9 @@ and perform other fragment transactions.

initial fragment(s) to the activity during the activity's {@link android.app.Activity#onCreate onCreate()} method.

-

An important rule when dealing with fragments—especially those that you add at -runtime—is that the fragment must have a container {@link android.view.View} in the layout in -which the fragment's layout will reside.

+

An important rule when dealing with fragments—especially when adding fragments at +runtime—is that your activity layout must include a container {@link android.view.View} +in which you can insert the fragment.

The following layout is an alternative to the layout shown in the previous lesson that shows only one fragment at a time. In order to replace -- cgit v1.1