1page.title=layoutopt 2parent.title=Tools 3parent.link=index.html 4@jd:body 5 6<p><code>layoutopt</code> is a command-line tool that helps you optimize the 7layouts and layout hierarchies of your applications.<p> 8 9<p>This document is a reference to the available command line options. For more information and sample 10output of the tool, see <a 11href="{@docRoot}guide/developing/debugging/debugging-ui.html#layoutopt">Optimizing layouts with 12layoutopt</a>.</p> 13 14<h3>Usage</h3> 15 16<p>To run <code>layoutopt</code> against a given list of layout resources:</p> 17 18<pre>layoutopt <file_or_directory> ...</pre> 19 20<p>For example:</p> 21 22<pre>$ layoutopt res/layout-land</pre> 23<pre>$ layoutopt res/layout/main.xml res/layout-land/main.xml</pre> 24 25