Skip to content

Commit

Permalink
am 399df56: docs: various link fixes and other typos from external tr…
Browse files Browse the repository at this point in the history
…acker

* commit '399df5677bd116a016664a10a0da432da29e829d':
  docs: various link fixes and other typos from external tracker
  • Loading branch information
scottamain authored and Android Git Automerger committed Jul 3, 2012
2 parents cb31aa4 + 399df56 commit 35cb065
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 33 deletions.
3 changes: 0 additions & 3 deletions core/java/android/widget/Gallery.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
* <p>
* Views given to the Gallery should use {@link Gallery.LayoutParams} as their
* layout parameters type.
*
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-gallery.html">Gallery
* tutorial</a>.</p>
*
* @attr ref android.R.styleable#Gallery_animationDuration
* @attr ref android.R.styleable#Gallery_spacing
Expand Down
2 changes: 0 additions & 2 deletions core/java/android/widget/TabHost.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
* page. The individual elements are typically controlled using this container object, rather than
* setting values on the child elements themselves.
*
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-tabwidget.html">Tab Layout
* tutorial</a>.</p>
*/
public class TabHost extends FrameLayout implements ViewTreeObserver.OnTouchModeChangeListener {

Expand Down
3 changes: 0 additions & 3 deletions core/java/android/widget/TabWidget.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
* handler, and manage callbacks. You might call this object to iterate the list
* of tabs, or to tweak the layout of the tab list, but most methods should be
* called on the containing TabHost object.
*
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-tabwidget.html">Tab Layout
* tutorial</a>.</p>
*
* @attr ref android.R.styleable#TabWidget_divider
* @attr ref android.R.styleable#TabWidget_tabStripEnabled
Expand Down
2 changes: 0 additions & 2 deletions core/java/android/widget/TableLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
* actually use any View subclass as a direct child of TableLayout. The View
* will be displayed as a single row that spans all the table columns.</p>
*
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-tablelayout.html">Table
* Layout tutorial</a>.</p>
*/
public class TableLayout extends LinearLayout {
private int[] mMaxWidths;
Expand Down
2 changes: 1 addition & 1 deletion docs/html/about/versions/android-4.1.jd
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ android.app.Notification#PRIORITY_DEFAULT}, and there's two levels higher and tw

<p>High priority notifications are things that users generally want to respond to quickly,
such as a new instant message, text message, or impending event reminder. Low priority
notifications are things like </p>
notifications are things like expired calendar events or app promotions.</p>

<h3 id="SystemUI">Controls for system UI</h3>

Expand Down
8 changes: 4 additions & 4 deletions docs/html/about/versions/jelly-bean.jd
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ like those shown in the examples above to display rich content and actions.</p>
<li>BigPictureStyle &mdash; a notification that showcases visual content such as a bitmap.</li>
</ul>

<p>In addition to the templated styles, you can create you own notification styles <strong>using any remote View</strong>.</p>
<p>In addition to the templated styles, you can create your own notification styles <strong>using any remote View</strong>.</p>

<p>Apps can add up to three <strong>actions</strong> to a notification, which are displayed below the notification content. The actions let the users respond directly to the information in the notification in alternative ways. such as by email or by phone call, without visiting the app.</p>

Expand Down Expand Up @@ -243,17 +243,17 @@ style="font-weight:500;">App Widgets</span> can resize automatically to fit the

<p>In Android 4.1, Android Beam makes it easier to share images, videos, or other payloads by <strong>leveraging Bluetooth for the data transfer</strong>. When the user triggers a transfer, Android Beam hands over from NFC to Bluetooth, making it really easy to manage the transfer of a file from one device to another.</p>

<h3>Wi-fi Network Service Discovery</h3>
<h3>Wi-Fi Network Service Discovery</h3>

<p>Android 4.1 introduces support for multicast <strong>DNS-based service discovery</strong>, which lets applications find and connect to services offered by peer devices over Wi-Fi networks &mdash; including mobile devices, printers, cameras, media players, and others. Developers can take advantage of Wi-Fi network service discovery to build cross-platform or multiplayer games and application experiences.</p>

<p>Using the service discovery API, apps can create and register any kind of service, for any other NSD-enabled device to discover. The service is advertised by multicast across the network using a human-readable string identifier, which lets user more easily identify the type of service. </p>

<p>Consumer devices can use the API to scan and discover services available from devices connected to the local Wi-Fi network. After discovery, apps can use the API to resolve the service to an IP adress and port through which it can establish a socket connection.</p>
<p>Consumer devices can use the API to scan and discover services available from devices connected to the local Wi-Fi network. After discovery, apps can use the API to resolve the service to an IP address and port through which it can establish a socket connection.</p>

<p>You can take advantage of this API to build new features into your apps. For example, you could let users connect to a webcam, a printer, or an app on another mobile device that supports Wi-Fi peer-to-peer connections. </p>

<h3>Wifi-Direct Service Discovery</h3>
<h3>Wi-Fi Direct Service Discovery</h3>

<p>Ice Cream Sandwich introduced support for Wi-Fi Direct, a technology that lets apps <strong>discover and pair directly</strong>, over a high-bandwidth peer-to-peer connection. Wi-Fi Direct is an ideal way to share media, photos, files and other types of data and sessions, even where there is no cell network or Wi-Fi available.</p>

Expand Down
26 changes: 13 additions & 13 deletions docs/html/distribute/googleplay/promote/brand.jd
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,19 @@ any way you want, provided that you follow the guidelines described below.</p>
<div style="clear:both">
<div style="float:right;width:50%;padding:1.5em;">
<p>
<img alt="Google Play logo" src="{@docRoot}images/brand/google_play_logo_450.png">
<img alt="Google Play logo" src="http:https://www.android.com/images/brand/google_play_logo_450.png">
</p>
<p>
<img alt="Get it on Google Play badge, large" src=
"/images/brand/get_it_on_play_logo_large.png"><br>
Download: <a href="{@docRoot}images/brand/get_it_on_play_logo_small.png">Small</a> | <a href=
"/images/brand/get_it_on_play_logo_large.png">Large</a>
"http:https://www.android.com/images/brand/get_it_on_play_logo_large.png"><br>
Download: <a href="http:https://www.android.com/images/brand/get_it_on_play_logo_small.png">Small</a> | <a href=
"http:https://www.android.com/images/brand/get_it_on_play_logo_large.png">Large</a>
</p>
<p>
<img alt="Android App on Google Play badge, large" src=
"/images/brand/android_app_on_play_logo_large.png"><br>
Download: <a href="{@docRoot}images/brand/android_app_on_play_logo_small.png">Small</a> |
<a href="{@docRoot}images/brand/android_app_on_play_large.png">Large</a>
"http:https://www.android.com/images/brand/android_app_on_play_logo_large.png"><br>
Download: <a href="http:https://www.android.com/images/brand/android_app_on_play_logo_small.png">Small</a> |
<a href="http:https://www.android.com/images/brand/android_app_on_play_large.png">Large</a>
</p>
</div>

Expand Down Expand Up @@ -140,20 +140,20 @@ any way you want, provided that you follow the guidelines described below.</p>
<ul>
<li>When used online, the badge logo should be used to direct users to:
<ul>
<li>The Google Play landing page: <br /><span style="margin-left:1em;"><a href=
"http:https://play.google.com/">play.google.com</a></span>
<li>The Google Play landing page: <br />
<span style="margin-left:1em;">http:https://play.google.com</span>
</li>
<li>The Google Play Apps landing page: <br /><a href="http:https://play.google.com/store/apps">
<span style="margin-left:1em;"> play.google.com/store/apps</a></span>
<li>The Google Play Apps landing page: <br />
<span style="margin-left:1em;">http:https://play.google.com/store/apps</span>
</li>
<li>A list of products that include your company name, for example, <br />
<span style="margin-left:1em;">http:https://play.google.com/store/search?q=<em>yourCompanyName</em></span>
</li>
<li>A list of products published by you, for example,<br />
<span style="margin-left:1em;">play.google.com/store/search?q=<em>publisherName</em>M/span>
<span style="margin-left:1em;">http:https://play.google.com/store/search?q=<em>publisherName</em>M/span>
</li>
<li>A specific app product details page within Google Play, for example,<br />
<span style="margin-left:1em;">play.google.com/store/apps/details?id=<em>packageName</em></span>
<span style="margin-left:1em;">http:https://play.google.com/store/apps/details?id=<em>packageName</em></span>
</li>
</ul>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ page.title=Creating a Content Provider
</p>
<p>
The method {@link android.content.UriMatcher#addURI(String, String, int) addURI()} maps an
authority and path to an integer value. The method android.content.UriMatcher#match(Uri)
authority and path to an integer value. The method {@link android.content.UriMatcher#match(Uri)
match()} returns the integer value for a URI. A <code>switch</code> statement
chooses between querying the entire table, and querying for a single record:
</p>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/html/images/brand/get_it_on_play_logo_small.png
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/html/training/basics/activity-lifecycle/recreating.jd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ href="{@docRoot}guide/topics/resources/runtime-changes.html">Handling Runtime Ch

<p>There are a few scenarios in which your activity is destroyed due to normal app behavior, such as
when the user presses the <em>Back</em> button or your activity signals its own destruction by
calling {@link android.app.Activity#finish()}. The system may also destory your activity if it's
calling {@link android.app.Activity#finish()}. The system may also destroy your activity if it's
currently stopped and hasn't been used in a long time or the foreground activity requires more
resources so the system must shut down background processes to recover memory.</p>

Expand Down
4 changes: 2 additions & 2 deletions docs/html/training/basics/firstapp/building-ui.jd
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ resource type&mdash;for example, the string resource uses the same name.)</p>
<p>The plus-symbol (<code>+</code>) is needed only when you're defining a resource ID for the
first time. It tells the SDK tools that the resource ID needs to be created. Thus, when the app is
compiled, the SDK tools use the ID value, <code>edit_message</code>, to create a new identifier in
your project's {@code gen/R.java} file that is now assiciated with the {@link
your project's {@code gen/R.java} file that is now associated with the {@link
android.widget.EditText} element. Once the resource ID is created, other references to the ID do not
need the plus symbol. This is the only attribute that may need the plus-symbol. See the sidebox for
more information about resource objects.</p></dd>
Expand Down Expand Up @@ -289,7 +289,7 @@ android:layout_weight}</a> attribute.</p>

<p>The weight value allows you to specify the amount of remaining space each view should consume,
relative to the amount consumed by sibling views, just like the ingredients in a drink recipe: "2
parts vodka, 1 part coffee liquer" means two-thirds of the drink is vodka. For example, if you give
parts vodka, 1 part coffee liqueur" means two-thirds of the drink is vodka. For example, if you give
one view a weight of 2 and another one a weight of 1, the sum is 3, so the first view gets 2/3 of
the remaining space and the second view gets the rest. If you give a third view a weight of 1,
then the first view now gets 1/2 the remaining space, while the remaining two each get 1/4.</p>
Expand Down
3 changes: 2 additions & 1 deletion docs/html/training/improving-layouts/loading-ondemand.jd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ next.link=smooth-scrolling.html
<!-- other docs (NOT javadocs) -->
<h2>You should also read</h2>
<ul>
<li><a href="{@docRoot}resources/articles/layout-tricks-stubs.html">Using ViewStubs</a></li>
<li><a href="http:https://android-developers.blogspot.com/2009/03/android-layout-tricks-3-optimize-with.html"
>Optimize with stubs (blog post)</a></li>
</ul>

</div>
Expand Down

0 comments on commit 35cb065

Please sign in to comment.