diff options
author | Scott Kennedy <skennedy@google.com> | 2013-01-14 11:15:55 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-01-14 11:15:55 -0800 |
commit | aebeea4cf39acae833b1b7f27a4c08d3b55dee37 (patch) | |
tree | 015c611ce18e8e63995f05236cb8027ddf3413c0 /docs/html/guide | |
parent | af77f071ff40b7f9f905dd7dd597b1da72e89b5f (diff) | |
parent | 5d6d6aab255aa17fde979d954c839402837b4243 (diff) | |
download | frameworks_base-aebeea4cf39acae833b1b7f27a4c08d3b55dee37.zip frameworks_base-aebeea4cf39acae833b1b7f27a4c08d3b55dee37.tar.gz frameworks_base-aebeea4cf39acae833b1b7f27a4c08d3b55dee37.tar.bz2 |
am 5d6d6aab: am 8e45679a: am 026f9191: am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev
* commit '5d6d6aab255aa17fde979d954c839402837b4243':
docs: Fix a bunch of issues
Diffstat (limited to 'docs/html/guide')
-rw-r--r-- | docs/html/guide/components/activities.jd | 4 | ||||
-rw-r--r-- | docs/html/guide/components/bound-services.jd | 4 | ||||
-rw-r--r-- | docs/html/guide/topics/location/strategies.jd | 4 | ||||
-rw-r--r-- | docs/html/guide/topics/resources/layout-resource.jd | 4 | ||||
-rw-r--r-- | docs/html/guide/topics/resources/string-resource.jd | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/docs/html/guide/components/activities.jd b/docs/html/guide/components/activities.jd index 36f651f..2897804 100644 --- a/docs/html/guide/components/activities.jd +++ b/docs/html/guide/components/activities.jd @@ -691,7 +691,7 @@ restored, by default).</p> android.app.Activity#onSaveInstanceState onSaveInstanceState()} helps save the state of the UI, if you override the method in order to save additional state information, you should always call the superclass implementation of {@link android.app.Activity#onSaveInstanceState onSaveInstanceState()} -before doing any work. Likewise, you should also call the supercall implementation of {@link +before doing any work. Likewise, you should also call the superclass implementation of {@link android.app.Activity#onRestoreInstanceState onRestoreInstanceState()} if you override it, so the default implementation can restore view states.</p> @@ -773,4 +773,4 @@ android.app.Activity#onStop onStop()}.</p> enables user multitasking, continue with the <b><a href="{@docRoot}guide/components/tasks-and-back-stack.html">Tasks and Back Stack</a></b> document.</p> --->
\ No newline at end of file +--> diff --git a/docs/html/guide/components/bound-services.jd b/docs/html/guide/components/bound-services.jd index 8d2bba5..653c7a0 100644 --- a/docs/html/guide/components/bound-services.jd +++ b/docs/html/guide/components/bound-services.jd @@ -578,7 +578,7 @@ private ServiceConnection mConnection = new ServiceConnection() { </pre> <p>With this {@link android.content.ServiceConnection}, the client can bind to a service by passing -this it to {@link android.content.Context#bindService bindService()}. For example:</p> +it to {@link android.content.Context#bindService bindService()}. For example:</p> <pre> Intent intent = new Intent(this, LocalService.class); @@ -667,7 +667,7 @@ Below, figure 1 illustrates the logic for this kind of lifecycle.</p> and also allows binding.</p> -<p>For more information about the lifecycle of an started service, see the <a +<p>For more information about the lifecycle of a started service, see the <a href="{@docRoot}guide/components/services.html#Lifecycle">Services</a> document.</p> diff --git a/docs/html/guide/topics/location/strategies.jd b/docs/html/guide/topics/location/strategies.jd index f790953..404b797 100644 --- a/docs/html/guide/topics/location/strategies.jd +++ b/docs/html/guide/topics/location/strategies.jd @@ -202,7 +202,7 @@ accuracy.</p> android.location.LocationManager#requestLocationUpdates requestLocationUpdates()}:</p> <pre> -LocationProvider locationProvider = LocationManager.NETWORK_PROVIDER; +String locationProvider = LocationManager.NETWORK_PROVIDER; // Or, use GPS location data: // LocationProvider locationProvider = LocationManager.GPS_PROVIDER; @@ -217,7 +217,7 @@ long for users wait. Until a more accurate location is provided to your location should utilize a cached location by calling {@link android.location.LocationManager#getLastKnownLocation}:</p> <pre> -LocationProvider locationProvider = LocationManager.NETWORK_PROVIDER; +String locationProvider = LocationManager.NETWORK_PROVIDER; // Or use LocationManager.GPS_PROVIDER Location lastKnownLocation = locationManager.getLastKnownLocation(locationProvider); 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><item></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 <string-array>} element. Beware that you must escape apostrophes and quotation marks. See <a href="#FormattingAndStyling">Formatting and Styling</a>, below, for |