docs: hierarchyviewer updates
b/19955159
Change-Id: I77da54048765eeb768ec59a0ce0cbe40d0ba9715
(cherry picked from commit f9f81b49d0)
This commit is contained in:
committed by
Joe Fernandez
parent
b1aa7d0bc8
commit
6b1b71c963
BIN
docs/html/images/tools/hierarchicalviewer-icon.png
Normal file
BIN
docs/html/images/tools/hierarchicalviewer-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 367 B |
BIN
docs/html/images/tools/studio-DDMS-open-perspective-icon.png
Normal file
BIN
docs/html/images/tools/studio-DDMS-open-perspective-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 508 B |
@@ -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>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>
|
||||
|
||||
<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 the Hierarchy Viewer, see
|
||||
<a href="{@docRoot}tools/debugging/debugging-ui.html">Optimizing Your UI</a>.
|
||||
</p>
|
||||
|
||||
<p>To start Hierarchy Viewer, enter the following command from the SDK <code>tools/</code> directory:</p>
|
||||
<pre>hierarchyviewer</pre>
|
||||
</ol>
|
||||
<p class="note"><strong>Note:</strong> The command line version of Hierarchy Viewer has been
|
||||
deprecated. </p>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user