am cdf5106a: docs: a few doc bugs

* commit 'cdf5106aafb77d17584d5401b207cbcc7a20f5f3':
  docs: a few doc bugs
This commit is contained in:
Scott Main
2013-01-08 20:13:40 -08:00
committed by Android Git Automerger
3 changed files with 4 additions and 4 deletions

View File

@ -2838,7 +2838,7 @@ public class Activity extends ContextThemeWrapper
* item has been selected.
* <p>
* It is not safe to hold onto the context menu after this method returns.
* {@inheritDoc}
*
*/
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
}

View File

@ -61,7 +61,7 @@ var APP_LANGS = ['it','pt-br','pt-pt','nl','ko','ja','fr','es','es-419','en','de
// variables for creating 'try it out' demo button
var imagePath = "https://developer.android.com/images/brand/"
var linkStart = "<a href=\"http://play.google.com/store/";
var linkStart = "<a href=\"https://play.google.com/store/";
var imageStart = "\">\n"
+ " <img alt=\"";
// leaves opening for the alt text value
@ -70,7 +70,7 @@ var imageSrc = "\"\n src=\"" + imagePath;
var imageEnd = ".png\" />\n</a>";
// variables for creating code snippet
var linkStartCode = "&lt;a href=\"http://play.google.com/store/";
var linkStartCode = "&lt;a href=\"https://play.google.com/store/";
var imageStartCode = "\"&gt;\n"
+ " &lt;img alt=\"";
// leaves opening for the alt text value

View File

@ -95,7 +95,7 @@ Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, &quot;This is my text to send.&quot;);
sendIntent.setType(&quot;text/plain&quot;);
startActivity(<strong>Intent.createChooser(sendIntent, getResources().getText(R.string.send_to)</strong>);
startActivity(<strong>Intent.createChooser(sendIntent, getResources().getText(R.string.send_to))</strong>);
</pre>
<p>The resulting dialog is shown in figure 1.</p>