to top

layoutopt

layoutopt is a command-line tool that helps you optimize the layouts and layout hierarchies of your applications.

This document is a reference to the available command line options. For more information and sample output of the tool, see Optimizing layouts with layoutopt.

Usage

To run layoutopt against a given list of layout resources:

layoutopt <file_or_directory> ...

For example:

$ layoutopt res/layout-land
$ layoutopt res/layout/main.xml res/layout-land/main.xml
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.