blob: 1308b1e71a72a2c23b766b9d08055ecb00a5b022 [file] [log] [blame]
Scott Main50e990c2012-06-21 17:14:39 -07001page.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}tools/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 &lt;file_or_directory&gt; ...</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