O'Reilly logo

Android User Interface Development by Jason Morris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating relative layouts for content display

The WebView offers an easy way by which large amount of content can be displayed to the user in an easy-to-read format. It also has many built-in features designed specifically for viewing content. However, it doesn't always offer the easy way out and often doesn't allow for functionality that other widgets provide out-of-the-box. The RelativeLayout class provides much of the same layout functionality that the WebView class provides you with.

As we just discussed, the WebView stands out almost as though it were a separate application. Working with a RelativeLayout, you'll be populating your screen with standard Android widgets, which in turn means that there will be no change in the look and feel from ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required