diff options
| author | Rich Slogar <rslogar@google.com> | 2015-04-17 16:52:44 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-17 16:52:45 +0000 |
| commit | efe861a4a7081da795fe6a0843308ca7cef26277 (patch) | |
| tree | 0da91354e6e4cbeea4b62ef2adf1e26500c2571d /docs/html/tools/help | |
| parent | af5f200038d377033a5c22e6f93bc49a9e67444d (diff) | |
| parent | f9f81b49d04ba5beb5a360265e808a7d6e9ed269 (diff) | |
| download | frameworks_base-efe861a4a7081da795fe6a0843308ca7cef26277.zip frameworks_base-efe861a4a7081da795fe6a0843308ca7cef26277.tar.gz frameworks_base-efe861a4a7081da795fe6a0843308ca7cef26277.tar.bz2 | |
Merge "docs: hierarchyviewer updates" into lmp-docs
Diffstat (limited to 'docs/html/tools/help')
| -rw-r--r-- | docs/html/tools/help/hierarchy-viewer.jd | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/docs/html/tools/help/hierarchy-viewer.jd b/docs/html/tools/help/hierarchy-viewer.jd index 4a346e0..da4cc1e 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> + + |
