diff options
author | Rich Slogar <rslogar@google.com> | 2015-04-23 23:11:36 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-23 23:11:36 +0000 |
commit | 42511b9468063d52998e5087260e966882eea683 (patch) | |
tree | b617b5829ff618eed4b92fc0926c8e23c2bda69d | |
parent | 8bf4dce45486ec3b8df9d1e9b5903672bbf7094d (diff) | |
parent | 684f3aa264e678affc1b33b27602493c96ee7eac (diff) | |
download | base-42511b9468063d52998e5087260e966882eea683.tar.gz |
am 684f3aa2: am efe861a4: Merge "docs: hierarchyviewer updates" into lmp-docs
* commit '684f3aa264e678affc1b33b27602493c96ee7eac':
docs: hierarchyviewer updates
-rw-r--r-- | docs/html/images/tools/hierarchicalviewer-icon.png | bin | 0 -> 367 bytes | |||
-rw-r--r-- | docs/html/images/tools/studio-DDMS-open-perspective-icon.png | bin | 0 -> 508 bytes | |||
-rw-r--r-- | docs/html/tools/help/hierarchy-viewer.jd | 29 |
3 files changed, 20 insertions, 9 deletions
diff --git a/docs/html/images/tools/hierarchicalviewer-icon.png b/docs/html/images/tools/hierarchicalviewer-icon.png Binary files differnew file mode 100644 index 000000000000..061f95248401 --- /dev/null +++ b/docs/html/images/tools/hierarchicalviewer-icon.png diff --git a/docs/html/images/tools/studio-DDMS-open-perspective-icon.png b/docs/html/images/tools/studio-DDMS-open-perspective-icon.png Binary files differnew file mode 100644 index 000000000000..f8e6d1ad57b0 --- /dev/null +++ b/docs/html/images/tools/studio-DDMS-open-perspective-icon.png diff --git a/docs/html/tools/help/hierarchy-viewer.jd b/docs/html/tools/help/hierarchy-viewer.jd index 4a346e00fc01..da4cc1e9b261 100644 --- a/docs/html/tools/help/hierarchy-viewer.jd +++ b/docs/html/tools/help/hierarchy-viewer.jd @@ -3,16 +3,27 @@ parent.title=Tools parent.link=index.html @jd:body -<p>Hierarchy Viewer allows you to debug and optimize your user -interface. It provides a visual representation of the layout's View hierarchy -(the Layout View) and a magnified inspector of the display (the Pixel Perfect View). -</p> +<p>The Hierarchy Viewer allows you to debug and optimize your user +interface. It provides a visual representation of the layout's View hierarchy +(the Layout View) and a magnified inspector of the display (the Pixel Perfect View). </p> + +<p>To start the Hierarchy Viewer, do one of the following: </p> -<p>To start Hierarchy Viewer, enter the following command from the SDK <code>tools/</code> directory:</p> - <pre>hierarchyviewer</pre> -</ol> +<ul> +<li> From Android Studio, choose <strong>Tools > Android Device Monitor</strong> or click the +Android Device Monitor icon +<img src="{@docRoot}images/tools/hierarchicalviewer-icon.png" alt=""/>. Click the Open Perspectives +icon <img src="{@docRoot}images/tools/studio-DDMS-open-perspective-icon.png" alt=""/> and select +<strong>Hierarchy View</strong>. </li> +<li>From the SDK <code>tools/</code> directory, enter: + <pre>monitor</pre> </li> +</ul> -<p>For more information on how to use Hierarchy Viewer, see -<a href="{@docRoot}tools/debugging/debugging-ui.html">Debugging and Profiling UIs</a> +<p>For more information on how to use the Hierarchy Viewer, see +<a href="{@docRoot}tools/debugging/debugging-ui.html">Optimizing Your UI</a>. </p> +<p class="note"><strong>Note:</strong> The command line version of Hierarchy Viewer has been +deprecated. </p> + + |