summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/resources
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/guide/topics/resources')
-rw-r--r--docs/html/guide/topics/resources/layout-resource.jd4
-rw-r--r--docs/html/guide/topics/resources/string-resource.jd2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/html/guide/topics/resources/layout-resource.jd b/docs/html/guide/topics/resources/layout-resource.jd
index cd88ae9..380ab15 100644
--- a/docs/html/guide/topics/resources/layout-resource.jd
+++ b/docs/html/guide/topics/resources/layout-resource.jd
@@ -264,7 +264,7 @@ guide.
<pre>
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
- setContentView.(R.layout.main_activity);
+ setContentView(R.layout.main_activity);
}
</pre>
</dd> <!-- end example -->
@@ -279,4 +279,4 @@ public void onCreate(Bundle savedInstanceState) {
</ul>
</dd>
-</dl> \ No newline at end of file
+</dl>
diff --git a/docs/html/guide/topics/resources/string-resource.jd b/docs/html/guide/topics/resources/string-resource.jd
index da410a4..27761e2 100644
--- a/docs/html/guide/topics/resources/string-resource.jd
+++ b/docs/html/guide/topics/resources/string-resource.jd
@@ -177,7 +177,7 @@ ID to reference the array.</dd>
</dd>
<dt id="string-array-item-element"><code>&lt;item&gt;</code></dt>
- <dd>A string, which can include styling tags. The value can be a referenced to another
+ <dd>A string, which can include styling tags. The value can be a reference to another
string resource. Must be a child of a {@code &lt;string-array&gt;} element. Beware that you
must escape apostrophes and
quotation marks. See <a href="#FormattingAndStyling">Formatting and Styling</a>, below, for