am cdf5106a
: docs: a few doc bugs
* commit 'cdf5106aafb77d17584d5401b207cbcc7a20f5f3': docs: a few doc bugs
This commit is contained in:
@ -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) {
|
||||
}
|
||||
|
@ -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 = "<a href=\"http://play.google.com/store/";
|
||||
var linkStartCode = "<a href=\"https://play.google.com/store/";
|
||||
var imageStartCode = "\">\n"
|
||||
+ " <img alt=\"";
|
||||
// leaves opening for the alt text value
|
||||
|
@ -95,7 +95,7 @@ Intent sendIntent = new Intent();
|
||||
sendIntent.setAction(Intent.ACTION_SEND);
|
||||
sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my text to send.");
|
||||
sendIntent.setType("text/plain");
|
||||
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>
|
||||
|
Reference in New Issue
Block a user