diff --git a/docs/html/images/tools/as-api-level-preview.png b/docs/html/images/tools/as-api-level-preview.png new file mode 100644 index 0000000000000..602a6adee1476 Binary files /dev/null and b/docs/html/images/tools/as-api-level-preview.png differ diff --git a/docs/html/sdk/installing/studio-layout.jd b/docs/html/sdk/installing/studio-layout.jd index f0e5d59a4d4a5..60cbcb322ceeb 100644 --- a/docs/html/sdk/installing/studio-layout.jd +++ b/docs/html/sdk/installing/studio-layout.jd @@ -132,6 +132,15 @@ help you place the widget, as shown in figure 6:

Within the graphical editor, you can rearrange your app's UI by dragging widgets to the desired location.

+

Multi-API Version Rendering

+ +

Android Studio supports multi-API version rendering. When you click the Android version icon in the Design view, +Android Studio allows you to preview your Android layouts across multiple Android API levels. +

+ +

+

Figure 7. Multi-API version rendering.

+

Taking a snapshot

When you run your app on a connected device, you can take a snapshot of it by clicking diff --git a/docs/html/tools/studio/index.jd b/docs/html/tools/studio/index.jd index 43cb2fe53ed52..1c0fe996044f4 100644 --- a/docs/html/tools/studio/index.jd +++ b/docs/html/tools/studio/index.jd @@ -432,7 +432,7 @@ and enumerated constants.

Run Analyze > Inspect Code to validate the configured annotations.

For a complete list of the supported annotations, either use the auto-complete feature to display -the available options for the import android.support.annotation. statement or +the available options for the import android.support.annotation statement or view the contents of the {@link android.support.annotation Support-Annotations} library.

@@ -440,30 +440,6 @@ library.

For more details about Android annotations, see Improving Code Inspection with Annotations. - - -

Dynamic layout preview

-

Android Studio allows you to work with layouts in both a Design View

-

-

-

Figure 6. Hello World App with Design View.

- -

and a Text View.

- -

- Figure 7. Hello World App with text view.

- -

Easily select and preview layout changes for different device images, display -densities, UI modes, locales, and Android versions (multi-API version rendering). -

-

Figure 8. Multi-API version rendering.

- - -

From the Design View, you can drag and drop elements from the Palette to the Preview or -Component Tree. The Text View allows you to directly edit the XML settings, while previewing -the device display.

- -

Log messages

When you build and run your app with Android Studio, you can view adb and device log messages (logcat) by clicking Android at the bottom of the window.

diff --git a/docs/html/tools/tools_toc.cs b/docs/html/tools/tools_toc.cs index b7595ce811f0e..f6785f2b32a24 100644 --- a/docs/html/tools/tools_toc.cs +++ b/docs/html/tools/tools_toc.cs @@ -168,6 +168,7 @@ class="en">Tools Help
  • Hierarchy Viewer
  • hprof-conv
  • jobb
  • +
  • Layout Editor
  • lint
  • logcat
  • mksdcard