Android – Making efficient layouts

Android Programming is a lot about efficiency to have snappy user interfaces. The Android SDK provides two nice tools to help building efficient UI’s. In the tools directory you find the tools:

layoutopt and

layoutopt is a command line tool which can analyse a layout resource file and tell you what is not required and hierarchyviewer is a tool to view the View hierarchy of your running application.

I suggest to have a look at these tools and check your layouts especially if you have created a complex application.

About Lars Vogel

Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences, He is the primary author of With more than one million visitors per month this website is one of the central sources for Java, Eclipse and Android programming information.
This entry was posted in Android and tagged , , , . Bookmark the permalink.

One Response to Android – Making efficient layouts

  1. smokes says:

    tnx. looks pretty neat

Comments are closed.