diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-11-28 19:52:03 -0800 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2010-11-28 21:06:57 -0800 |
commit | 1318af1a476bb39b80fcadf5e545856aa2e90de2 (patch) | |
tree | 097df44f6d2d79ba14bfb5b8929e377b5c8d7965 | |
parent | 4a4f0cd86f6dc8de23767613ef28a9a0c7ca92d2 (diff) | |
download | frameworks_base-1318af1a476bb39b80fcadf5e545856aa2e90de2.zip frameworks_base-1318af1a476bb39b80fcadf5e545856aa2e90de2.tar.gz frameworks_base-1318af1a476bb39b80fcadf5e545856aa2e90de2.tar.bz2 |
Fixing a typo in onCreate sample code.
Change-Id: Ia03bf2bfcfee95fd3a856f9fb87d12cd6c99219c
-rw-r--r-- | docs/html/guide/topics/ui/declaring-layout.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/ui/declaring-layout.jd b/docs/html/guide/topics/ui/declaring-layout.jd index 4d71d28..d561bdd 100644 --- a/docs/html/guide/topics/ui/declaring-layout.jd +++ b/docs/html/guide/topics/ui/declaring-layout.jd @@ -120,7 +120,7 @@ for your Activity like so:</p> <pre> public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setContentView.(R.layout.main_layout); + setContentView(R.layout.main_layout); } </pre> |