summaryrefslogtreecommitdiffstats
path: root/docs/html/training/basics
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2013-10-08 13:38:31 -0700
committerScott Main <smain@google.com>2013-10-08 13:38:31 -0700
commit6a831b7d5cd87b5b2c7660c84ed34f8ccc5ae275 (patch)
tree890a32afea31df67d4381fceb4d20bc40dbde800 /docs/html/training/basics
parentdd8e315b86614627eb8ba629c713d73034fed357 (diff)
downloadframeworks_base-6a831b7d5cd87b5b2c7660c84ed34f8ccc5ae275.zip
frameworks_base-6a831b7d5cd87b5b2c7660c84ed34f8ccc5ae275.tar.gz
frameworks_base-6a831b7d5cd87b5b2c7660c84ed34f8ccc5ae275.tar.bz2
fix typo in code comment
Change-Id: Iefe5a52db4bb5852f3651487e97917879cdfa890
Diffstat (limited to 'docs/html/training/basics')
-rw-r--r--docs/html/training/basics/fragments/fragment-ui.jd6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/html/training/basics/fragments/fragment-ui.jd b/docs/html/training/basics/fragments/fragment-ui.jd
index db3119b..14469bf 100644
--- a/docs/html/training/basics/fragments/fragment-ui.jd
+++ b/docs/html/training/basics/fragments/fragment-ui.jd
@@ -122,11 +122,11 @@ public class MainActivity extends FragmentActivity {
return;
}
- // Create an instance of ExampleFragment
+ // Create a new Fragment to be placed in the activity layout
HeadlinesFragment firstFragment = new HeadlinesFragment();
- // In case this activity was started with special instructions from an Intent,
- // pass the Intent's extras to the fragment as arguments
+ // In case this activity was started with special instructions from an
+ // Intent, pass the Intent's extras to the fragment as arguments
firstFragment.setArguments(getIntent().getExtras());
// Add the fragment to the 'fragment_container' FrameLayout