From ac9177f0bcc0369d6a27b0fc4e333833c48fbc11 Mon Sep 17 00:00:00 2001 From: sreevanis Date: Fri, 4 Dec 2015 12:39:31 -0800 Subject: [PATCH] docs: Moved the "Multi-API Level Rendering" feature of Studio to Layout Editor page. Removed "Dynamic Layout Preview" section from Studio index page. Added Layout Editor tab to the "Tools Help" TOC. Bugfix :25973267 Change-Id: I17726597d1d76c59718f2076a1a508dbd8f96350 --- .../images/tools/as-api-level-preview.png | Bin 0 -> 399 bytes docs/html/sdk/installing/studio-layout.jd | 9 ++++++ docs/html/tools/studio/index.jd | 26 +----------------- docs/html/tools/tools_toc.cs | 1 + 4 files changed, 11 insertions(+), 25 deletions(-) create mode 100644 docs/html/images/tools/as-api-level-preview.png 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 0000000000000000000000000000000000000000..602a6adee14765cabf7a2b4b117a0ebbacab578e GIT binary patch literal 399 zcmV;A0dW3_P)Px#32;bRa{vGi!~g&e!~vBn4jTXf00(qQO+^RZ0~--I6g2tVZ~y=R8FWQhbVF}# zZDnqB07G(RVRU6=Aa`kWXdp*PO;A^X4i^9b0Q^ZrK~zY`V|?-A1p~DK69WyvsG-Bg z&`EnV@NlsL7J@1iMI7fJas2W7!+(bV94rFz!nTwe`s&k_hi?!4`~Mfh{qpz4w_mTH ze>g8GU`W3APu-vP@BiNrlcf-Dh{@7_|NowTFb%&hM*P`y;ZfHgzdxc0va)a{*&HO_ zQ1SrwFkO2#j*)>e$ao>HxK4LCz2#yyL=CZqK7D_RpmXr389F%%yZ5C9ObP15qlQ52 zuQ?O*?86x}K}mjtP}3FUdq2cviMoUj0|SG*PLH3#Oa=x9bqOE*CJtOgNeLLUv+#-V ts0nb%v9s`t^XU=P!Z=!+jv7i`007*iSM5|j9YFv9002ovPDHLkV1jonpvnLM literal 0 HcmV?d00001 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 d183f42bb3a1a..888c44d17777d 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