Files
frameworks_base/docs/html/guide/developing/tools/layoutopt.jd
Robert Ly 6ffacae353 Doc change: Tools section of the dev guide restructuring
Change-Id: I747dfc71e25f76b42476cd7de3c7087aa4e90850
2010-12-28 18:27:09 -08:00

22 lines
694 B
Plaintext

page.title=layoutopt
@jd:body
<p><code>layoutopt</code> is a command-line tool that helps you optimize the
layouts and layout hierarchies of your applications.<p>
<p>This document is a reference to the available command line options. For more information and sample
output of the tool, see <a href="{@docRoot}guide/developing/debugging/debugging-ui.html#layoutopt.html">
Optimizing layouts with layoutopt</a>.</p>
<h3>Usage</h3>
<p>To run <code>layoutopt</code> against a given list of layout resources:</p>
<pre>layoutopt &lt;file_or_directory&gt; ...</pre>
<p>For example:</p>
<pre>$ layoutopt res/layout-land</pre>
<pre>$ layoutopt res/layout/main.xml res/layout-land/main.xml</pre>