diff options
author | Scott Main <smain@google.com> | 2010-11-23 14:46:49 -0800 |
---|---|---|
committer | Scott Main <smain@google.com> | 2010-11-23 14:46:49 -0800 |
commit | f67eb43600f16dc7f64687d9790417298aa7a709 (patch) | |
tree | 979d37a19303c1b1b106906f19500269f523ae6e /docs | |
parent | 07cb89432cf1687ba4f903f56bc1d92979d2cd4a (diff) | |
download | frameworks_base-f67eb43600f16dc7f64687d9790417298aa7a709.zip frameworks_base-f67eb43600f16dc7f64687d9790417298aa7a709.tar.gz frameworks_base-f67eb43600f16dc7f64687d9790417298aa7a709.tar.bz2 |
docs: fix code snippet error
Change-Id: I5d65effce4a88af2cbf990276015ed24200037b5
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/guide/topics/fragments/index.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/fragments/index.jd b/docs/html/guide/topics/fragments/index.jd index ce10ef7..766146e 100644 --- a/docs/html/guide/topics/fragments/index.jd +++ b/docs/html/guide/topics/fragments/index.jd @@ -399,7 +399,7 @@ in the back stack:</p> Fragment newFragment = new MyFragment(); FragmentTransaction ft = openFragmentTransaction(); // Replace and add to back stack -ft.replace(newFragment, R.id.myfragment); +ft.replace(R.id.myfragment, newFragment); ft.addToBackStack(null); // Apply changes ft.commit(); |