From 0495f1ef71e46483c19208cc1cf6c771ba1aa6d5 Mon Sep 17 00:00:00 2001 From: Ricardo Cervera Date: Thu, 7 Aug 2014 13:47:39 -0700 Subject: [PATCH] docs: Fixed minor issue with Studio shortcuts See https://code.google.com/p/android/issues/detail?id=74316 Updated keymap for new files and added note on choosing keymaps. Change-Id: I3c1e1a8ab0f344040ea2627734f7d5959c842799 --- docs/html/sdk/installing/studio-tips.jd | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/html/sdk/installing/studio-tips.jd b/docs/html/sdk/installing/studio-tips.jd index 12d252710a287..03e29ca52d8a3 100644 --- a/docs/html/sdk/installing/studio-tips.jd +++ b/docs/html/sdk/installing/studio-tips.jd @@ -52,6 +52,12 @@ Plugin User Guide.

The following topics describe how to perform some basic development tasks with Android Studio.

+

Note: This section lists Android Studio keyboard shortcuts +for the default keymap. To change the default keymap on Windows and Linux, go to +File > Settings > Keymap. To change +the default keymap on Mac OS X, go to Android Studio > +Preferences > Keymap.

+

Creating virtual devices

All the capabilities of the Android @@ -75,10 +81,11 @@ for updates.

Creating new files

You can quickly add new code and resource files by clicking the appropriate directory in the -Project pane and pressing CTRL + N (CMD + N, on Mac). Based on the type of -directory selected, Android Studio offers to create the appropriate file type.

+Project pane and pressing ALT + INSERT on Windows and Linux or COMMAND + N on Mac. +Based on the type of directory selected, Android Studio offers to create the appropriate file +type.

-

For example, if you select a layout directory, press CTRL + N, and select +

For example, if you select a layout directory, press ALT + INSERT on Windows, and select Layout resource file, a dialog opens so you can name the file (you can exclude the {@code .xml} suffix) and choose a root view element. The editor then switches to the layout design editor so you can begin designing your layout.