| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | page.title=Hierarchy Viewer |
| Scott Main | 9cf2fa0 | 2011-02-15 18:26:07 -0800 | [diff] [blame] | 2 | parent.title=Tools |
| 3 | parent.link=index.html |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 4 | @jd:body |
| 5 | |
| Robert Ly | ec5ca94 | 2011-01-07 18:48:00 -0800 | [diff] [blame] | 6 | <p>Hierarchy Viewer allows you to debug and optimize your user |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 7 | interface. It provides a visual representation of the layout's View hierarchy |
| 8 | (the Layout View) and a magnified inspector of the display (the Pixel Perfect View). |
| 9 | </p> |
| 10 | |
| Robert Ly | ec5ca94 | 2011-01-07 18:48:00 -0800 | [diff] [blame] | 11 | <p>To start Hierarchy Viewer, enter the following command from the SDK <code>tools/</code> directory:</p> |
| 12 | <pre>hierarchyviewer</pre> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 13 | </ol> |
| 14 | |
| Robert Ly | ec5ca94 | 2011-01-07 18:48:00 -0800 | [diff] [blame] | 15 | <p>For more information on how to use Hierarchy Viewer, see |
| 16 | <a href="{@docRoot}guide/developing/debugging/debugging-ui.html">Debugging and Profiling UIs</a> |
| 17 | </p> |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 18 | |