diff options
| author | 2016-06-07 18:22:21 -0700 | |
|---|---|---|
| committer | 2016-06-13 18:40:16 -0700 | |
| commit | dd4a8e79dbf2c74e3a4f8cfd451dcf8448f57e08 (patch) | |
| tree | 842b12a8592873a92ef30ac6bebfe46c86f73506 | |
| parent | e335ccdc0003bbc88d9dfbeefd4e6b8092697568 (diff) | |
Docs: Changed a command in Keyboard Shortcuts
In the Keyboard Shortcuts Helper section, changed the command to read 'Meta + /' and added information related to Meta key.
Bug: 28240770
Change-Id: Id7317999ea9acb4aa904d440af63b7d02c39184f
| -rw-r--r-- | docs/html/preview/api-overview.jd | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/docs/html/preview/api-overview.jd b/docs/html/preview/api-overview.jd index d457d5cb4877..8635132205ed 100644 --- a/docs/html/preview/api-overview.jd +++ b/docs/html/preview/api-overview.jd @@ -854,18 +854,26 @@ Directory Access</a> developer documentation.</p> <h2 id="keyboard_shortcuts_helper">Keyboard Shortcuts Helper</h2> <p> -In Android N, the user can press "Alt + /" to trigger a <em>Keyboard Shortcuts</em> -screen that displays all shortcuts available both from the system and from -the app in focus. These are retrieved automatically from the app’s menu if -available, but developers can provide their own fine-tuned shortcuts lists -for the screen. You can do this by overriding the new -<code>Activity.onProvideKeyboardShortcuts()</code> method, described in the downloadable -<a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference</a>. + In Android N, the user can press <strong>Meta + /</strong> to trigger a + <em>Keyboard Shortcuts</em> screen that displays all shortcuts available both + from the system and from the app in focus. The system retrieves these + shortcuts automatically from the app’s menu if the shortcuts exist. You can + also provide your own fine-tuned shortcuts lists for the screen. You can do + this by overriding the new <code>Activity.onProvideKeyboardShortcuts()</code> + method, described in the downloadable <a href= + "{@docRoot}preview/setup-sdk.html#docs-dl">API Reference</a>. +</p> + +<p class="note"> + <strong>Note:</strong> The <strong>Meta</strong> key is not present on all + keyboards: on a Macintosh keyboard, it is the <strong>Command</strong> key, + on the Windows keyboard, it is the <strong>Windows</strong> key, and on the + Pixel C and the Chrome OS keyboards, it is the <strong>Search</strong> key. </p> <p> -To trigger the Keyboard Shortcuts Helper from anywhere in your app, -call {@code Activity.requestKeyboardShortcutsHelper()} for the relevant activity. + To trigger Keyboard Shortcuts Helper from anywhere in your app, call + {@code Activity.requestKeyboardShortcutsHelper()} for the relevant activity. </p> <h2 id="sustained_performance_api">Sustained Performance API</h2> |